[hypre] 05/05: debian/rules: conditional assignment of dpkg-architecture variables
Drew Parsons
dparsons at moszumanska.debian.org
Mon Nov 13 15:02:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch experimental
in repository hypre.
commit 070c127775320d82ab93e1995a89eae51d35a771
Author: Drew Parsons <dparsons at debian.org>
Date: Mon Nov 13 22:59:37 2017 +0800
debian/rules: conditional assignment of dpkg-architecture variables
use ?= to define DEB_HOST_MULTIARCH and DEB_HOST_ARCH
(dpkg-buildpackage already preassigns them)
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 3cc45b4..1ef57a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,8 @@ export HYPRE_SOVERSION=2.13.0
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -O3
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic -O3
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed
-export DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-export DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
%:
dh $@ --sourcedirectory=src --with autoreconf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hypre.git
More information about the debian-science-commits
mailing list