[darkradiant] 03/03: Enable hardening all rule
Tobias Frost
tobi at moszumanska.debian.org
Wed Aug 24 18:10:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
tobi pushed a commit to branch master
in repository darkradiant.
commit fc35d646f6a7f47a0e49e8d6eda84f8f1cc62218
Author: Tobias Frost <tobi at coldtobi.de>
Date: Wed Aug 24 20:10:00 2016 +0200
Enable hardening all rule
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 1c1fd26..d5e38aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,12 @@
#DH_VERBOSE = 1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
export DEB_CFLAGS_MAINT_APPEND+= -Wdate-time
export DEB_CXXFLAGS_MAINT_APPEND+= -Wdate-time
-
export SOURCE_DATE_EPOCH_STR ?= $(shell TZ=UTC date -d "$$(dpkg-parsechangelog -SDate)" +'%Y-%m-%d %H:%M:%S')
export DEB_CFLAGS_MAINT_APPEND += -DDEB_BUILD_DATE=\"$$SOURCE_DATE_EPOCH_STR\"
export DEB_CXXFLAGS_MAINT_APPEND += -DDEB_BUILD_DATE=\"$$SOURCE_DATE_EPOCH_STR\"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/darkradiant.git
More information about the Pkg-games-commits
mailing list