summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-07-20 21:43:20 +0100
committerColin Watson <cjwatson@debian.org>2014-07-20 21:43:20 +0100
commit1c25e0d43e6eaa43af0b9ce319a5f5b412e7917e (patch)
tree00400862e7a76fe11cb11d1d26b5c3f1e27fc92f /debian/rules
parent068d12449d4473db47a187f0329653354a85aa8b (diff)
Make sure that DEB_HOST_ARCH is set, even when invoking debian/rules directly.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index f4d010377..3419366c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,7 @@ endif
21 21
22DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) 22DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
23DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) 23DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
24DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
24 25
25ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) 26ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
26 CC := gcc 27 CC := gcc