[SCM] lame/master: Enable all hardening flags

fabian at users.alioth.debian.org fabian at users.alioth.debian.org
Fri Oct 20 18:10:25 UTC 2017


The following commit has been merged in the master branch:
commit aec62d58584370d9be1018c015301b244110d36b
Author: Fabian Greffrath <fabian at debian.org>
Date:   Fri Oct 20 19:42:01 2017 +0200

    Enable all hardening flags

diff --git a/debian/rules b/debian/rules
index 2de03ca..c0b9833 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,defs
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,--no-undefined
 
 %:
 	dh $@

-- 
lame packaging



More information about the pkg-multimedia-commits mailing list