Ensure DEB_HOST_ARCH is set even if not present in the environment.

This commit is contained in:
Steve Langasek 2019-02-10 21:10:48 -08:00
parent 21efb35cce
commit 1d945f7690
2 changed files with 3 additions and 0 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ shim (15+1533136590.3beb971-2) UNRELEASED; urgency=medium
* Update VCS to point to salsa.
* Fix debian/rules syntax for arm64 build.
* Enable build for i386.
* Ensure DEB_HOST_ARCH is set even if not present in the environment.
-- Steve Langasek <vorlon@debian.org> Sun, 10 Feb 2019 00:15:19 -0800

2
debian/rules vendored
View File

@ -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