[netcdf4-python] 01/04: Enable all hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Mar 27 20:46:45 UTC 2016


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

sebastic pushed a commit to branch master
in repository netcdf4-python.

commit a88db1464e5ac20214d0269765b3d8a264ca0ade
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Mar 27 16:43:52 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 354c0a2..f1e2a71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+netcdf4-python (1.2.3.1-2) UNRELEASED; urgency=medium
+
+  * Enable all hardening buildflags.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 27 Mar 2016 16:43:31 +0200
+
 netcdf4-python (1.2.3.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index 36c47fc..a48bff9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
 
 #DH_VERBOSE := 1
 
+# Enable hardening build flags, except:
+#  pie: causes build failure
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 export HDF5_INCDIR=/usr/include/hdf5/serial

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



More information about the Pkg-grass-devel mailing list