[mapcode] 08/11: Enable all hardening buildflags.

Bas Couwenberg sebastic at debian.org
Sun Jan 28 18:34:58 UTC 2018


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository mapcode.

commit d0c32628cc86c57f10aca31133551286ee7991b4
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jan 28 19:21:55 2018 +0100

    Enable all hardening buildflags.
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 76c6ad5..c9acb41 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ mapcode (2.5.5-1) UNRELEASED; urgency=medium
   * Update copyright years for Stichting Mapcode Foundation.
   * Restructure control file with cme.
   * Bump Standards-Version to 4.1.3, no changes.
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 28 Jan 2018 19:07:36 +0100
 
diff --git a/debian/rules b/debian/rules
index 215becc..7054268 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
 
 # DH_VERBOSE := 1
 
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 # some helpful variables - uncomment them if needed
 # shamelessly stolen from http://jmtd.net/log/awk/
 #DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapcode.git



More information about the Pkg-grass-devel mailing list