[clblas] 03/06: Add -mxgot option to CFLAGS and CXXFLAGS for mips64* build.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Dec 1 11:57:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository clblas.
commit 61367952da7643e9bbb74cacbf0c84639e1da72e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Mon Nov 30 20:58:44 2015 +0000
Add -mxgot option to CFLAGS and CXXFLAGS for mips64* build.
Gbp-Dch: Short
Closes: #805893
Thanks: YunQian Su for the fix.
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index 6245832..1dcfaa0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,12 @@ DEB_CFLAGS_MAINT_APPEND += -mno-altivec
DEB_CXXFLAGS_MAINT_APPEND += -mno-altivec
endif
+# Fixes FTBFS on mips64* architectures. See #805893.
+ifneq (,$(filter mips64%,$(DEB_HOST_ARCH)))
+DEB_CFLAGS_MAINT_APPEND += -mxgot
+DEB_CXXFLAGS_MAINT_APPEND += -mxgot
+endif
+
# Common build options.
export CMAKE_BUILD_OPTIONS = \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git
More information about the debian-science-commits
mailing list