summaryrefslogtreecommitdiff
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
parent6bb31652096f67cca30d8c1baec582a0a43321e2 (diff)
downloadefi-boot-shim-aa19fc4d3851b17211ec4bf8d2466cf73219f63e.tar.gz
efi-boot-shim-aa19fc4d3851b17211ec4bf8d2466cf73219f63e.zip
Fix FTCBFS: Set CROSS_COMPILE. (Closes: #922152)
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules3
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index a1842de4..615925ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ shim (15+1533136590.3beb971-6) UNRELEASED; urgency=medium
clashes with the old shim-signed package for fbx64.efi.signed and
mmx64.efi.signed. Closes: #924619
+ [ Helmut Grohne ]
+ * Fix FTCBFS: Set CROSS_COMPILE. (Closes: #922152)
+
-- Steve McIntyre <93sam@debian.org> Sat, 23 Mar 2019 18:19:13 +0000
shim (15+1533136590.3beb971-5) unstable; urgency=medium
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)
%: