[flint] 01/01: Reintroduce -ansi for i386 to fix testsuite hang
James Clarke
jrtc27-guest at moszumanska.debian.org
Sun Jul 10 16:15:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
jrtc27-guest pushed a commit to branch master
in repository flint.
commit 14eeac3a7963cdad6860bccd64231212c0a94095
Author: James Clarke <jrtc27 at jrtc27.com>
Date: Sun Jul 10 15:55:07 2016 +0100
Reintroduce -ansi for i386 to fix testsuite hang
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 17f3b60..66f7594 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,13 @@ EXTRA_SHARED_FLAGS=-Wl,-soname,libflint-$(VERSION).so
MAKE_OVERRIDE = AT= QUIET_CXX= QUIET_CC= QUIET_AR= INCS=-I$(CURDIR) \
ABI_FLAG='$(LDFLAGS)'
+# Without -ansi, testsuite hangs running d_mat's t-qr on any-i386
+# TODO: Fix source itself?
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+ifeq ($(DEB_HOST_ARCH_CPU),i386)
+export DEB_CFLAGS_MAINT_APPEND = -ansi
+endif
+
%:
dh $@ --parallel
--
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