From: Sven Hoexter Date: Thu, 17 May 2012 12:49:51 +0000 (+0200) Subject: * Enable all hardening flags via DEB_BUILD_MAINT_OPTIONS. X-Git-Tag: debian/0.9.7-2~8 X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Ffuse-exfat.git;a=commitdiff_plain;h=c19f9ee3a3901b8a01bbd72ec7063a5c423b3861 * Enable all hardening flags via DEB_BUILD_MAINT_OPTIONS. * Export CFLAGS as CCFLAGS which is honored by the current SConstruct file. --- diff --git a/debian/changelog b/debian/changelog index 9325c4f..08fa6e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,9 @@ fuse-exfat (0.9.7-2) UNRELEASED; urgency=low * Switch from dh compat level 8 to 9. + * Enable all hardening flags via DEB_BUILD_MAINT_OPTIONS. + * Export CFLAGS as CCFLAGS which is honored by the current + SConstruct file. -- Sven Hoexter Thu, 17 May 2012 14:47:47 +0200 diff --git a/debian/rules b/debian/rules index 6dd474c..06d7151 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,11 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +export CCFLAGS=${CFLAGS} + + %: dh $@