[osgearth] 02/05: Enable all hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu May 5 16:21:45 UTC 2016


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

sebastic pushed a commit to branch master
in repository osgearth.

commit 902e15132721e12e0cd73dbffc186d4718c48768
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue May 3 17:26:02 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 040c689..c71d5d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 osgearth (2.7.0+dfsg-2) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 3.9.8, no changes.
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 03 May 2016 16:52:42 +0200
 
diff --git a/debian/rules b/debian/rules
index 079cde6..4441e22 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,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)
 
 # CMake doesn't use hardening build flags set in CPPFLAGS

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



More information about the Pkg-grass-devel mailing list