[sasview] 07/08: Enable more hardening on the build

Stuart Prescott stuart at debian.org
Tue Oct 31 06:54:28 UTC 2017


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

stuart pushed a commit to branch master
in repository sasview.

commit e2309eb4ee3610294ce65661987a723086703340
Author: Stuart Prescott <stuart at debian.org>
Date:   Tue Oct 31 17:50:53 2017 +1100

    Enable more hardening on the build
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index eb6f473..2f9f8a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,10 @@
 
 export PYBUILD_NAME=sasview
 
+# Enable additional hardening options for the binaries but not PIE since it is
+# not wanted for shared libraries.
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+
 %:
 	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sasview.git



More information about the debian-science-commits mailing list