[netcdf-fortran] 03/04: Enable all hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Mar 27 13:53:08 UTC 2016


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

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

commit 9e7976602b971e2179b132dbdbcc02157cb31ce0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Mar 27 15:30:33 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 583b722..29d226c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ netcdf-fortran (4.4.3-2) UNRELEASED; urgency=medium
 
   * Update Vcs-Git URL to use HTTPS.
   * Bump Standards-Version to 3.9.7, no changes.
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 27 Mar 2016 15:26:34 +0200
 
diff --git a/debian/rules b/debian/rules
index 8ea526e..e2c7256 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
 
 #export DH_VERBOSE=1
 
+# 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]://')
 
 # Verbose test output

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



More information about the Pkg-grass-devel mailing list