[giac] 01/01: Build with -DDOUBLEVAL as partial fix for big endian architectures.

Tobias Hansen thansen at moszumanska.debian.org
Fri Sep 15 10:21:40 UTC 2017


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

thansen pushed a commit to branch master
in repository giac.

commit e876b79cd9bde230bcb178566039da92cec95fc8
Author: Tobias Hansen <thansen at debian.org>
Date:   Fri Sep 15 11:02:47 2017 +0100

    Build with -DDOUBLEVAL as partial fix for big endian architectures.
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index df3d173..3b90f1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,13 @@
 %:
 	dh "$@" --with autoreconf
 
+# This helps (makes some tests pass on big endian architectures)
+# but it's not enough, there are still segfaults to fix.
+# See http://xcas.e.ujf-grenoble.fr/XCAS/viewtopic.php?f=3&t=1874
+ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
+export DEB_CPPFLAGS_MAINT_APPEND  = -DDOUBLEVAL
+endif
+
 # Use ccache if pkg.giac.ccache build-profile is active.
 # Your rebuilds will be *much quicker*.
 ifneq (,$(filter pkg.giac.ccache,$(DEB_BUILD_PROFILES)))

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



More information about the debian-science-commits mailing list