r14519 - in packages/trunk/dccnitghtmare/debian: . patches
Vincent Prat
vivicoder-guest at alioth.debian.org
Fri Aug 23 17:12:33 UTC 2013
Author: vivicoder-guest
Date: 2013-08-23 17:12:33 +0000 (Fri, 23 Aug 2013)
New Revision: 14519
Removed:
packages/trunk/dccnitghtmare/debian/patches/debug
Modified:
packages/trunk/dccnitghtmare/debian/patches/series
packages/trunk/dccnitghtmare/debian/rules
Log:
Hardening enabled
Deleted: packages/trunk/dccnitghtmare/debian/patches/debug
===================================================================
--- packages/trunk/dccnitghtmare/debian/patches/debug 2013-08-23 00:10:54 UTC (rev 14518)
+++ packages/trunk/dccnitghtmare/debian/patches/debug 2013-08-23 17:12:33 UTC (rev 14519)
@@ -1,13 +0,0 @@
-Author: Vincent Prat <vinceprat at free.fr>
-Description: Enables debugging by adding the -g compilation flag
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -55,7 +55,7 @@
-
- # Some compiler options
- if(UNIX)
-- add_definitions(-Wall)
-+ add_definitions(-g -Wall)
- endif(UNIX)
-
-
Modified: packages/trunk/dccnitghtmare/debian/patches/series
===================================================================
--- packages/trunk/dccnitghtmare/debian/patches/series 2013-08-23 00:10:54 UTC (rev 14518)
+++ packages/trunk/dccnitghtmare/debian/patches/series 2013-08-23 17:12:33 UTC (rev 14519)
@@ -1,4 +1,3 @@
name_change
data_path
-debug
tools
Modified: packages/trunk/dccnitghtmare/debian/rules
===================================================================
--- packages/trunk/dccnitghtmare/debian/rules 2013-08-23 00:10:54 UTC (rev 14518)
+++ packages/trunk/dccnitghtmare/debian/rules 2013-08-23 17:12:33 UTC (rev 14519)
@@ -3,8 +3,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# hardening flags
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_BUILD_OPTIONS="nostrip noopt"
%:
dh $@ --parallel
@@ -15,7 +15,7 @@
bin
override_dh_auto_configure:
- cmake .
+ cmake -DCMAKE_CXX_FLAGS="$(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" -DCMAKE_EXE_LINKER_FLAGS="$(shell dpkg-buildflags --get LDFLAGS)" .
override_dh_strip:
dh_strip --dbg-package=dccnitghtmare-dbg
More information about the Pkg-games-commits
mailing list