[SCM] libaacs/master: Enable hardened flags without overriding -O3.
ceros-guest at users.alioth.debian.org
ceros-guest at users.alioth.debian.org
Wed Mar 21 18:52:58 UTC 2012
The following commit has been merged in the master branch:
commit dcd3212cfeaff8b9c5ab850fdc273bec75cd7ea4
Author: Andres Mejia <amejia004 at gmail.com>
Date: Wed Mar 21 14:52:55 2012 -0400
Enable hardened flags without overriding -O3.
diff --git a/debian/rules b/debian/rules
index 2190feb..a4929ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,13 @@
#!/usr/bin/make -f
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS 2>/dev/null | sed -e 's/-O2//g')
+
%:
dh $@ --parallel --with autoreconf
+override_dh_auto_configure:
+ dh_auto_configure -- CFLAGS="$(CFLAGS)"
+
override_dh_auto_clean:
rm -rf get-orig-source
dh_auto_clean
--
libaacs packaging
More information about the pkg-multimedia-commits
mailing list