[clblas] 01/05: d/rules: fix FTBFS on ppc64el. (Closes: #798024)
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Sep 20 17:01:01 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 c2df9150b5ed91f9e8aff90fb639b5929e3d04c9
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Mon Sep 7 15:13:10 2015 +0100
d/rules: fix FTBFS on ppc64el. (Closes: #798024)
Thanks to Fernando Seiti Furusato for providing a patch.
---
debian/rules | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/rules b/debian/rules
index 1aff612..20a6a44 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,19 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# Hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+# Environment information.
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+# Build without Altivec to prevent FTBFS on ppc64el.
+ifeq ($(DEB_HOST_ARCH),ppc64el)
+DEB_CFLAGS_MAINT_APPEND += -mno-altivec
+endif
+
%:
dh $@ --sourcedirectory=src \
--buildsystem=cmake \
--
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