[SCM] gjacktransport/master: Enable hardening flags.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Sat Jun 2 22:46:10 UTC 2012
The following commit has been merged in the master branch:
commit eadeabf788243ca9669f885af0d45e67bba0b7d7
Author: Alessio Treglia <alessio at debian.org>
Date: Sun Jun 3 00:40:19 2012 +0200
Enable hardening flags.
diff --git a/debian/rules b/debian/rules
index 03dcbac..765af8c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,12 @@
#!/usr/bin/make -f
# -*- makefile -*-
-export LDFLAGS+=-Wl,--as-needed
+export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+LDFLAGS+=-Wl,--as-needed
%:
dh --with autoreconf $@
--
gjacktransport packaging
More information about the pkg-multimedia-commits
mailing list