[SCM] pd-cyclone/master: Enable hardening-flags
zmoelnig-guest at users.alioth.debian.org
zmoelnig-guest at users.alioth.debian.org
Mon Dec 9 16:46:46 UTC 2013
The following commit has been merged in the master branch:
commit 15b5aa6f04d622bfe28dcdbe3968d655659da2a1
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date: Mon Dec 9 16:13:54 2013 +0100
Enable hardening-flags
"format" is excluded for now, as this will fail the build...
LATER: fix the problem, rather than suppressing the symptoms
diff --git a/debian/rules b/debian/rules
index a6d00cb..61a496d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,13 @@ include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/utils.mk
+
+## use hardening some flags
+DPKG_EXPORT_BUILDFLAGS = 1
+DEB_BUILD_MAINT_OPTIONS=hardening=-format,+fortify,+stackprotector,+relro
+export DEB_BUILD_MAINT_OPTIONS
+include /usr/share/dpkg/buildflags.mk
+
# Relax inclusion of optional features to ease backporting
CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
--
pd-cyclone packaging
More information about the pkg-multimedia-commits
mailing list