[pktools] 08/28: Enable all hardening buildflags.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Wed May 18 10:03:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pktools.
commit 3630e1dd9f100baef0fabbd641f78d7897799af2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Tue May 3 17:38:09 2016 +0200
Enable all hardening buildflags.
---
debian/changelog | 1 +
debian/rules | 3 +++
2 files changed, 4 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 6b6d876..a9f84cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ pktools (2.6.7-1) UNRELEASED; urgency=medium
- Drop license & copyright for Autoconf files removed upstream
- Add license & copyright for svm.{cpp,h}
* Switch buildsystem to CMake.
+ * Enable all hardening buildflags.
-- Bas Couwenberg <sebastic at debian.org> Tue, 17 May 2016 20:46:48 +0200
diff --git a/debian/rules b/debian/rules
index 4addfe3..354adb4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
PKTOOLS_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git
More information about the Pkg-grass-devel
mailing list