summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2019-03-23 19:00:59 +0000
committerSteve McIntyre <93sam@debian.org>2019-03-23 19:00:59 +0000
commitaa19fc4d3851b17211ec4bf8d2466cf73219f63e (patch)
tree26da4c5567e528ec816f57d5a10663565d315618 /debian/rules
parent6bb31652096f67cca30d8c1baec582a0a43321e2 (diff)
downloadefi-boot-shim-aa19fc4d3851b17211ec4bf8d2466cf73219f63e.tar.gz
efi-boot-shim-aa19fc4d3851b17211ec4bf8d2466cf73219f63e.zip
Fix FTCBFS: Set CROSS_COMPILE. (Closes: #922152)
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index f8c5f270..daaed62e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
# Other vendors, add your certs here. No sense in using
# dpkg-vendor --derives-from, because only Canonical-generated binaries will
# be signed with this key; so if you are building your own shim binary you
@@ -33,6 +35,7 @@ COMMON_OPTIONS += \
ENABLE_HTTPBOOT=true \
VENDOR_CERT_FILE=$(cert) \
EFIDIR=$(distributor) \
+ CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)- \
$(NULL)
%: