From 1d945f769047a2a430f4bf2486532ca7d19fbd0d Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Sun, 10 Feb 2019 21:10:48 -0800 Subject: Ensure DEB_HOST_ARCH is set even if not present in the environment. --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index a75c1d17..37df25ac 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,8 @@ else distributor=debian endif +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + ifeq ($(DEB_HOST_ARCH),amd64) export EFI_ARCH := x64 endif -- cgit v1.2.3