[Pkg-clamav-commits] [libclamunrar] 08/09: hardened build flags

Sebastian A. Siewior bigeasy-guest at moszumanska.debian.org
Fri Apr 25 23:08:55 UTC 2014


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

bigeasy-guest pushed a commit to branch unstable
in repository libclamunrar.

commit a9f00efc02240a5ffb34166d3f29cc6117470b88
Author: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
Date:   Sat Apr 26 00:45:17 2014 +0200

    hardened build flags
    
    Signed-off-by: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7361274..a7bc616 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ libclamunrar (0.98.1-1) UNRELEASED; urgency=low
   * redo rules files to something smaller like we do have in the clamav
     package.
   * Do autoreconf before configure (closes: #727917).
+  * Enable hardened build flags (closes: #741080).
 
  -- Sebastian Andrzej Siewior <sebastian at breakpoint.cc>  Fri, 25 Apr 2014 22:43:53 +0200
 
diff --git a/debian/rules b/debian/rules
index c8531f6..539d862 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,10 +26,10 @@ endif
 	dh $@ --parallel $(AUTORECONF)
 
 override_dh_auto_configure:
-	$(FT) dh_auto_configure -- \
+	$(FT) dh_auto_configure -- $(shell DEB_LDFLAGS_MAINT_APPEND="-Wl,-z,defs" dpkg-buildflags --export=configure) \
 		--disable-clamav
 
 override_dh_auto_build-arch:
 	# Build architecture-dependent files.
-	$(FT) dh_auto_build -a
+	$(FT) dh_auto_build -a -- V=1
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-clamav/libclamunrar.git



More information about the Pkg-clamav-commits mailing list