[otb] 13/20: Enable all hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun May 1 13:57:27 UTC 2016


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

sebastic pushed a commit to branch master
in repository otb.

commit a1d0099af1136a3389a45d7154ae96af4c660cdc
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun May 1 02:12:46 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 64f7bca..fd53705 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ otb (5.4.0~rc1+dfsg0-1) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.8, no changes.
   * Add library package for libOTBSampling.
   * Extract upstream version for symbols from changelog.
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 01 May 2016 00:18:10 +0200
 
diff --git a/debian/rules b/debian/rules
index ffefb07..71207b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 export DEB_LDFLAGS_MAINT_APPEND = "-Wl,--as-needed"
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

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



More information about the Pkg-grass-devel mailing list