[python-shapely] 11/14: Enable all hardening buildflags, except PIE (causes build failure).

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Mar 28 11:57:01 UTC 2016


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

sebastic pushed a commit to branch master
in repository python-shapely.

commit 5c2119a07da691ea2564dd95261455f56e6dcaff
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Mar 28 12:13:58 2016 +0200

    Enable all hardening buildflags, except PIE (causes build failure).
---
 debian/changelog | 1 +
 debian/rules     | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index dec3352..947f231 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ python-shapely (1.5.14-1) UNRELEASED; urgency=medium
   * Enable parallel builds.
   * Drop unneeded dh_auto_test override.
   * Add build dependency on pytest.
+  * Enable all hardening buildflags, except PIE (causes build failure).
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 28 Mar 2016 11:37:31 +0200
 
diff --git a/debian/rules b/debian/rules
index 5061f7c..16f7de0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Enable hardening build flags, except:
+#  pie: causes build failure
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
 export PYBUILD_NAME=shapely
 export LC_ALL=C.UTF-8
 

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



More information about the Pkg-grass-devel mailing list