[SCM] phasex/master: Enable hardening: bindnow

gabork-guest at users.alioth.debian.org gabork-guest at users.alioth.debian.org
Fri Dec 29 12:31:35 UTC 2017


The following commit has been merged in the master branch:
commit 05cc36e8d9a4b5e2247a86b30a28a6443a5c6ba3
Author: Gabor Karsay <gabor.karsay at gmx.at>
Date:   Fri Dec 29 12:47:49 2017 +0100

    Enable hardening: bindnow

diff --git a/debian/rules b/debian/rules
index d0925de..5dd31d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,8 @@ ifneq (,$(findstring amd64,$(DEB_BUILD_ARCH)))
 DEB_CONFIGURE_FLAGS_EXTRA=--enable-arch=amd64
 endif
 
-LDFLAGS+=-Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 %:
 	dh $@

-- 
phasex packaging



More information about the pkg-multimedia-commits mailing list