[Python-modules-commits] r21000 - in packages/pyside/trunk/debian (rules)
odyx at users.alioth.debian.org
odyx at users.alioth.debian.org
Sun Apr 1 15:04:31 UTC 2012
Date: Sunday, April 1, 2012 @ 15:04:26
Author: odyx
Revision: 21000
Pass hardening CPPFLAGS trough CFLAGS/CXXFLAGS.
Closes: #666679
Signed-off-by: Didier Raboud <odyx at debian.org>
Modified:
packages/pyside/trunk/debian/rules
Modified: packages/pyside/trunk/debian/rules
===================================================================
--- packages/pyside/trunk/debian/rules 2012-04-01 14:00:32 UTC (rev 20999)
+++ packages/pyside/trunk/debian/rules 2012-04-01 15:04:26 UTC (rev 21000)
@@ -1,5 +1,10 @@
#!/usr/bin/make -f
+# CMake doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to enable the
+# missing (hardening) flags.
+export DEB_CFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
+export DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
+
%:
dh $@ --with python2 --with python3 --buildsystem=cmake --parallel
@@ -50,7 +55,6 @@
g++-version-ge-4.5 := $(shell if test $(g++-version) -ge 45; then echo "yes"; else echo "no"; fi)
CMAKE_COMMON_OPTIONS := -DCMAKE_SKIP_RPATH=true \
- -DCMAKE_VERBOSE_MAKEFILE=OFF \
-DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) \
-DUSE_XVFB=true \
-DCTEST_TESTING_TIMEOUT=600
More information about the Python-modules-commits
mailing list