[givaro] 01/01: Append -ffp-contract=off to CXXFLAGS to fix FTBFS on mips64el and s390x.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 28 14:13:20 UTC 2016


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

dtorrance-guest pushed a commit to branch master
in repository givaro.

commit 6d539072b7bd798178ce0a9572053696e91cf147
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Sun Aug 28 10:03:43 2016 -0400

    Append -ffp-contract=off to CXXFLAGS to fix FTBFS on mips64el and s390x.
---
 debian/changelog | 7 +++++++
 debian/rules     | 8 ++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4f80f59..89ab7dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+givaro (4.0.2-2) unstable; urgency=medium
+
+  * debian/rules
+    - Append -ffp-contract=off to CXXFLAGS to fix FTBFS on mips64el and s390x.
+
+ -- Doug Torrance <dtorrance at piedmont.edu>  Sun, 28 Aug 2016 10:02:59 -0400
+
 givaro (4.0.2-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index 8d792c6..5926a54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,14 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+# Remove this if https://github.com/linbox-team/givaro/issues/25 is resolved
+# in a future release.
+# Inspired by patch for Fedora package by Dan Horák <dan at danny.cz>:
+# http://pkgs.fedoraproject.org/cgit/rpms/givaro.git/commit/?id=2755bb0
+ifeq ($(DEB_HOST_ARCH_CPU), $(filter $(DEB_HOST_ARCH_CPU), mips64el s390x))
+	export DEB_CXXFLAGS_MAINT_APPEND = -ffp-contract=off
+endif
+
 override_dh_auto_configure:
 	dh_auto_configure -- --with-gmp --enable-shared \
 		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

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



More information about the debian-science-commits mailing list