[SCM] qtractor/master: Enable hardening.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sat May 3 23:58:35 UTC 2014


The following commit has been merged in the master branch:
commit 3e3d82439af8876a5379f4cf58c34d8565aed2c0
Author: Alessio Treglia <alessio at debian.org>
Date:   Sun May 4 00:58:13 2014 +0100

    Enable hardening.

diff --git a/debian/rules b/debian/rules
index 7281c21..a614863 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,10 @@
 #!/usr/bin/make -f
 
+export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
+export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
+export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
 LDFLAGS+=-Wl,--as-needed
 
 %:
@@ -9,3 +14,6 @@ override_dh_auto_configure:
 	dh_auto_configure -- \
 		--enable-lilv \
 		--enable-suil
+
+override_dh_autoreconf:
+	dh_autoreconf --as-needed

-- 
qtractor packaging



More information about the pkg-multimedia-commits mailing list