diff options
| author | Steve Langasek <steve.langasek@canonical.com> | 2019-02-10 21:10:48 -0800 |
|---|---|---|
| committer | Steve Langasek <steve.langasek@canonical.com> | 2019-02-10 21:10:48 -0800 |
| commit | 1d945f769047a2a430f4bf2486532ca7d19fbd0d (patch) | |
| tree | fa05dfeada040a0c5f6fda455617a1afe252bbb6 /debian/rules | |
| parent | 21efb35cce375d55be127133dc9c20fff97b7a0f (diff) | |
| download | efi-boot-shim-1d945f769047a2a430f4bf2486532ca7d19fbd0d.tar.gz efi-boot-shim-1d945f769047a2a430f4bf2486532ca7d19fbd0d.zip | |
Ensure DEB_HOST_ARCH is set even if not present in the environment.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
