[spatialite-tools] 02/04: Enable all hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu May 5 19:53:12 UTC 2016


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

sebastic pushed a commit to branch experimental
in repository spatialite-tools.

commit fdfcfe8ced649aea589d4211092ba55d185cb5b4
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu May 5 21:38:21 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 8001c0d..7326587 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 spatialite-tools (4.4.0~rc0-1~exp2) UNRELEASED; urgency=medium
 
   * Update Vcs-Git URL to use HTTPS.
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 05 May 2016 21:30:22 +0200
 
diff --git a/debian/rules b/debian/rules
index 461d1a7..193fd0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,9 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 FULL_VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d- -f1)
 VERSION := $(shell echo $(FULL_VERSION) | sed -e "s/~beta[[:digit:]]\+/-BETA/")
 LC_VERSION := $(shell echo $(VERSION) | tr A-Z a-z)

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



More information about the Pkg-grass-devel mailing list