[med-svn] [charls] 03/04: Better hardening

Andreas Tille tille at debian.org
Fri May 20 21:35:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository charls.

commit 87462fe40474080123f018ba14c9dd5684152cfa
Author: Andreas Tille <tille at debian.org>
Date:   Fri May 20 23:31:45 2016 +0200

    Better hardening
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 09d2346..0ff4aeb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ charls (1.1.0+dfsg-1) unstable; urgency=medium
   * Packaging moved from SVN to Git
   * d/watch pointing to Github
     Closes: #824819
+  * Better hardening
 
  -- Andreas Tille <tille at debian.org>  Fri, 20 May 2016 23:29:00 +0200
 
diff --git a/debian/rules b/debian/rules
index afcfcd7..ba6d6a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,8 @@ export DEB_CFLAGS_MAINT_APPEND = -fvisibility=hidden -fvisibility-inlines-hidden
 export DEB_CXXFLAGS_MAINT_APPEND = -fvisibility=hidden -fvisibility-inlines-hidden
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
 CMAKE_EXTRA_FLAGS += -DCMAKE_BUILD_TYPE:STRING=None \
  -DBUILD_SHARED_LIBS:BOOL=ON \
  -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/charls.git



More information about the debian-med-commit mailing list