[proj] 04/07: Enable all hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon May 23 21:21:11 UTC 2016


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

sebastic pushed a commit to branch master
in repository proj.

commit af5e2ce2f7afaa39aac95eb961d79bee07732c0a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon May 23 21:08:32 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 ffff4ce..7ea40ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ proj (4.9.2-3) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.8, no changes.
   * Add patch by Alexis Bienvenüe to make nad2bin output reproducible.
     (closes: #825088)
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 23 May 2016 20:28:01 +0200
 
diff --git a/debian/rules b/debian/rules
index e7bce28..59ed7db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,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
+
 DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 PROJ_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/proj.git



More information about the Pkg-grass-devel mailing list