r14608 - packages/trunk/ode/debian
Jackson Doak
noskcaj-guest at alioth.debian.org
Sat Sep 21 23:05:04 UTC 2013
Author: noskcaj-guest
Date: 2013-09-21 23:05:03 +0000 (Sat, 21 Sep 2013)
New Revision: 14608
Modified:
packages/trunk/ode/debian/changelog
packages/trunk/ode/debian/rules
Log:
Enable hardening
Modified: packages/trunk/ode/debian/changelog
===================================================================
--- packages/trunk/ode/debian/changelog 2013-09-21 22:59:25 UTC (rev 14607)
+++ packages/trunk/ode/debian/changelog 2013-09-21 23:05:03 UTC (rev 14608)
@@ -18,6 +18,7 @@
* debian/rules:
- Replace dh_clean -k with dh_prep
- Remove manpage lines
+ - Enable Hardening
* Create PACKAGE.manpage files
* Create debian/source/format
Modified: packages/trunk/ode/debian/rules
===================================================================
--- packages/trunk/ode/debian/rules 2013-09-21 22:59:25 UTC (rev 14607)
+++ packages/trunk/ode/debian/rules 2013-09-21 23:05:03 UTC (rev 14608)
@@ -1,5 +1,9 @@
#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/buildflags.mk
+DPKG_EXPORT_BUILDFLAGS = 1
+
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CXXFLAGS += -O0 -g3
CFLAGS += -O0 -g3
@@ -11,10 +15,10 @@
dh_testdir
mkdir -p debian/build/dp debian/build/sp
# SP: single precision build
- cd debian/build/sp && ../../../configure --enable-shared --prefix=/usr LIBS="-lX11"
+ cd debian/build/sp && ../../../configure --enable-shared --prefix=/usr LIBS="-lX11" $(shell dpkg-buildflags --export=configure)
# Adjust the SONAME of the single precision flavor
sed -i 's,^soname_spec=.*,soname_spec=libode.so.1sp,' debian/build/sp/libtool
- cd debian/build/dp && ../../../configure --enable-shared --prefix=/usr --enable-double-precision LIBS="-lX11"
+ cd debian/build/dp && ../../../configure --enable-shared --prefix=/usr --enable-double-precision LIBS="-lX11" $(shell dpkg-buildflags --export=configure)
touch configure-stamp
More information about the Pkg-games-commits
mailing list