[gdal-grass] 03/04: Enable bindnow hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun May 1 15:18:40 UTC 2016


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

sebastic pushed a commit to branch master
in repository gdal-grass.

commit e620408cf26c132c08b3e677d3cfe7704d6d33b4
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun May 1 17:11:07 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index cde5ab1..04801a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ libgdal-grass (2.0.2-2) UNRELEASED; urgency=medium
 
   * Bump minimum GRASS version to 7.0.4.
   * Bump Standards-Version to 3.9.8, no changes.
+  * Enable bindnow hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 01 May 2016 16:13:06 +0200
 
diff --git a/debian/rules b/debian/rules
index b1a2e24..ed5e4be 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,-pie
+
 PKGNAME=$(shell grep Package: debian/control.in|cut -d' ' -f2)
 GRASS=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2))
 GRASS_ABI=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2,3|sed -e 's/RC/-/'))

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



More information about the Pkg-grass-devel mailing list