[SCM] xwax/master: Enable hardened compilation flags.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Jan 17 09:29:47 UTC 2013


The following commit has been merged in the master branch:
commit c59b376866f86e293ed38da94ac4606f8d04a2a1
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Jan 17 09:29:00 2013 +0000

    Enable hardened compilation flags.

diff --git a/debian/rules b/debian/rules
index 88a089d..73c0567 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,11 @@ else
 CROSS= --build $(DEB_BUILD_GNU_TYPE)
 endif
 
+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)
+
 %:
 	dh $@
 

-- 
xwax packaging



More information about the pkg-multimedia-commits mailing list