[flint] 01/01: Disable -fPIE on mips and mipsel to fix FTBFS.

Tobias Hansen thansen at moszumanska.debian.org
Wed Nov 16 16:58:07 UTC 2016


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

thansen pushed a commit to branch master
in repository flint.

commit c9ad524c09c4917113e8cc331e0f45ca04b9082a
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Wed Nov 16 16:23:11 2016 +0000

    Disable -fPIE on mips and mipsel to fix FTBFS.
---
 debian/changelog | 7 +++++++
 debian/rules     | 5 +++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 54ac94b..f068c14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+flint (2.5.2-12) unstable; urgency=medium
+
+  * Team upload.
+  * Disable -fPIE on mips and mipsel to fix FTBFS.
+
+ -- Tobias Hansen <thansen at debian.org>  Wed, 16 Nov 2016 16:21:37 +0000
+
 flint (2.5.2-11) unstable; urgency=medium
 
   * Added missing dep from -dev on libmpfr-dev.
diff --git a/debian/rules b/debian/rules
index a3065a0..9c5ed84 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,11 @@ ifeq ($(DEB_HOST_ARCH_CPU),i386)
 export DEB_CFLAGS_MAINT_APPEND = -ansi
 endif
 
+# FTBFS on mips and mipsel seems to be caused by PIE.
+ifeq ($(DEB_HOST_ARCH_CPU), $(filter $(DEB_HOST_ARCH_CPU), mips mipsel))
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+endif
+
 %:
 	dh $@
 

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



More information about the debian-science-commits mailing list