[arrayfire] 03/05: d/rules: use DEB_HOST_ARCH_CPU instead of DEB_HOST_ARCH.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Aug 2 23:31:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository arrayfire.
commit 1ee439c0bdbea8ea445391bee35618edd37619b5
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Aug 2 10:30:06 2016 +0100
d/rules: use DEB_HOST_ARCH_CPU instead of DEB_HOST_ARCH.
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index ce96734..34bf3e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,11 +11,11 @@ export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# Environment information.
-DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# Build without AltiVec support on ppc64el.
-ifeq ($(DEB_HOST_ARCH),ppc64el)
+ifeq ($(DEB_HOST_ARCH_CPU),ppc64el)
DEB_CFLAGS_MAINT_APPEND += -mno-altivec
DEB_CXXFLAGS_MAINT_APPEND += -mno-altivec
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list