[netcdf-cxx-legacy] 01/02: Enable all hardening buildflags, except PIE (causes build failure).

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Mar 27 14:41:38 UTC 2016


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 a8ba11d023ccc21d664d1410920e00f7c0a99375
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Mar 27 16:00:25 2016 +0200

    Enable all hardening buildflags, except PIE (causes build failure).
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7fad47b..c3aa807 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+netcdf-cxx-legacy (4.2-6) UNRELEASED; urgency=medium
+
+  * Enable all hardening buildflags, except PIE (causes build failure).
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 27 Mar 2016 15:59:31 +0200
+
 netcdf-cxx-legacy (4.2-5) unstable; urgency=medium
 
   * Fix 'interface' typo in debug package description.
diff --git a/debian/rules b/debian/rules
index 62cacc5..89a898a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 # 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
+
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 
 # Verbose test output

-- 
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