[Python-modules-commits] [python-neovim-gui] 01/05: Add hardening flags

Víctor Cuadrado Juan viccuad-guest at moszumanska.debian.org
Mon Mar 21 18:47:25 UTC 2016


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

viccuad-guest pushed a commit to branch master
in repository python-neovim-gui.

commit e4f8f3de0874cc2c8f57a84f7fc182d23a1eed8a
Author: Víctor Cuadrado Juan <me at viccuad.me>
Date:   Mon Mar 21 19:18:57 2016 +0100

    Add hardening flags
    
    Remove -PIE since shared libs already do this
    by using -fPIE, and it causes problems (build fails
    because of undefined references to python objects).
    
    see dpkg-buildflags(1) for more info.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 202e4d5..62313dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 export PYBUILD_NAME=python-neovim-gui
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
 
 %:
 	dh $@  --with python3 --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-neovim-gui.git



More information about the Python-modules-commits mailing list