[med-svn] [patman] 01/01: Disable PIE on x32

Graham Inggs ginggs at moszumanska.debian.org
Tue Dec 19 19:28:50 UTC 2017


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

ginggs pushed a commit to branch master
in repository patman.

commit 9e677022c3c9f3038a738efaa42fa8541fe3b8f6
Author: Graham Inggs <ginggs at debian.org>
Date:   Tue Dec 19 21:27:56 2017 +0200

    Disable PIE on x32
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b33ca46..6fe464d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+patman (1.2.2+dfsg-3) UNRELEASED; urgency=medium
+
+  * Disable PIE on x32 (Closes: #884795)
+
+ -- Graham Inggs <ginggs at debian.org>  Tue, 19 Dec 2017 19:25:52 +0000
+
 patman (1.2.2+dfsg-2) unstable; urgency=medium
 
   * Drop -march=k8 from build options
diff --git a/debian/rules b/debian/rules
index 152aebf..0ecbbef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 
+ifeq ($(DEB_HOST_ARCH),x32)
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+else
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+endif
 
 %:
 	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/patman.git



More information about the debian-med-commit mailing list