[SCM] ALURE packaging branch, master, updated. debian/1.2-3-2-gd4018f3

Andres Mejia amejia004 at gmail.com
Mon Mar 19 14:06:26 UTC 2012


The following commit has been merged in the master branch:
commit 224b5998ef20c6fc0d758415316d72877db2d488
Author: Andres Mejia <amejia004 at gmail.com>
Date:   Mon Mar 19 09:52:24 2012 -0400

    Build with hardened flags.

diff --git a/debian/changelog b/debian/changelog
index 8361f00..68f63f2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+alure (1.2-4) unstable; urgency=low
+
+  * Enable hardened compiler flags.
+
+ -- Andres Mejia <amejia at debian.org>  Mon, 19 Mar 2012 09:52:02 -0400
+
 alure (1.2-3) unstable; urgency=low
 
   * Allow dev package to be multiarch installable.
diff --git a/debian/rules b/debian/rules
index 27e8359..ac1b956 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,8 @@
 #!/usr/bin/make -f
 
 # Pass -Wall and some other compiler options we wish to use.
-CFLAGS = "-Wall $(DEB_CFLAGS)"
-CXXFLAGS = "-Wall $(DEB_CXXFLAGS)"
+CFLAGS = "-Wall $(shell dpkg-buildflags --get CFLAGS 2>/dev/null | sed -e 's/-g\|-O2//g')"
+CXXFLAGS = "-Wall $(shell dpkg-buildflags --get CXXFLAGS 2>/dev/null | sed -e 's/-g\|-O2//g')"
 
 # nostrip option implies noopt
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))

-- 
ALURE packaging



More information about the Pkg-games-commits mailing list