[netcdf-cxx-legacy] 05/07: Enable PIE hardening buildflags.

Bas Couwenberg sebastic at debian.org
Sun Jun 25 18:09:39 UTC 2017


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

sebastic pushed a commit to branch master
in repository netcdf-cxx-legacy.

commit 9a5ec2f85fe94e50aa5bf2125903cfedf9b82c59
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jun 25 19:58:43 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 128b646..b71702a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ netcdf-cxx-legacy (4.2-7) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 4.0.0, no changes.
   * Add autopkgtest to test installability.
+  * Enable PIE hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 25 Jun 2017 19:58:05 +0200
 
diff --git a/debian/rules b/debian/rules
index 89a898a..7102d48 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# Enable hardening build flags, except:
-#  pie: causes build failure
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 

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



More information about the Pkg-grass-devel mailing list