diff options
author | Colin Watson <cjwatson@debian.org> | 2014-07-20 21:43:20 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-07-20 21:43:20 +0100 |
commit | 1c25e0d43e6eaa43af0b9ce319a5f5b412e7917e (patch) | |
tree | 00400862e7a76fe11cb11d1d26b5c3f1e27fc92f /debian/rules | |
parent | 068d12449d4473db47a187f0329653354a85aa8b (diff) |
Make sure that DEB_HOST_ARCH is set, even when invoking debian/rules directly.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 1 |
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 | ||
22 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | 22 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
23 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | 23 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
24 | DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) | ||
24 | 25 | ||
25 | ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) | 26 | ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) |
26 | CC := gcc | 27 | CC := gcc |