[SCM] gerbera/master: Build with -Wl,--as-needed and -Wl,-z,now

jcowgill at users.alioth.debian.org jcowgill at users.alioth.debian.org
Sat Sep 23 17:48:17 UTC 2017


The following commit has been merged in the master branch:
commit ce30b47f0aa72af07abea36c67eb05a0df219fa4
Author: James Cowgill <jcowgill at debian.org>
Date:   Wed Sep 20 23:22:45 2017 +0100

    Build with -Wl,--as-needed and -Wl,-z,now

diff --git a/debian/rules b/debian/rules
index 11cf557..2497ae7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
+export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
+
 %:
 	dh $@
 

-- 
gerbera packaging



More information about the pkg-multimedia-commits mailing list