[SCM] Packaging for openal-soft branch, master, updated. debian/1%1.13-5-1-g74426f2
Andres Mejia
amejia004 at gmail.com
Mon Mar 19 14:43:01 UTC 2012
The following commit has been merged in the master branch:
commit 74426f25b167245408afa0c4d320b9c300b15272
Author: Andres Mejia <amejia004 at gmail.com>
Date: Mon Mar 19 10:13:45 2012 -0400
Enable hardened compiler flags.
diff --git a/debian/changelog b/debian/changelog
index d1a1f4e..83ff3c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+openal-soft (1:1.13-6) unstable; urgency=low
+
+ * Enable hardened compiler flags.
+
+ -- Andres Mejia <amejia at debian.org> Mon, 19 Mar 2012 10:13:18 -0400
+
openal-soft (1:1.13-5) unstable; urgency=low
* Set Multi-Arch: foreign for libopenal-data. (Closes: #645962)
diff --git a/debian/rules b/debian/rules
index 6544915..0165800 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,11 +10,13 @@ endif
# For multiarch
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+CFLAGS = -Wall $(shell dpkg-buildflags --get CFLAGS 2>/dev/null | sed -e 's/-g\|-O2//g')
+
# Use this variable to allow options passed to cmake to be overridable
DEB_CMAKE_OPTIONS ?= -DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=$(TYPE) \
-DCMAKE_INSTALL_PREFIX="/usr" \
- -DCMAKE_C_FLAGS="$(DEB_CFLAGS)" \
+ -DCMAKE_C_FLAGS="$(CFLAGS)" \
-DALSOFT_CONFIG=ON \
-DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" \
..
--
Packaging for openal-soft
More information about the Pkg-games-commits
mailing list