]> git.proxmox.com Git - efi-boot-shim.git/commitdiff
Try again with includes
authorSteve McIntyre <steve@einval.com>
Wed, 27 Apr 2022 22:15:28 +0000 (23:15 +0100)
committerSteve McIntyre <steve@einval.com>
Wed, 27 Apr 2022 23:06:41 +0000 (00:06 +0100)
debian/patches/fix-test-includes.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fix-test-includes.patch b/debian/patches/fix-test-includes.patch
new file mode 100644 (file)
index 0000000..5c76ba4
--- /dev/null
@@ -0,0 +1,14 @@
+diff --git a/include/test.mk b/include/test.mk
+index 1a4fc220..e965c600 100644
+--- a/include/test.mk
++++ b/include/test.mk
+@@ -50,6 +50,9 @@ CFLAGS = $(OPTIMIZATIONS) -std=gnu11 \
+ # of the "include" directory
+ CFLAGS += -isystem $(shell $(CC) $(ARCH_CFLAGS) -print-file-name=include-fixed)
++# And on Debian also check the multi-arch include path
++CFLAGS += -isystem /usr/include/$(shell $(CC) $(ARCH_CFLAGS) -print-multiarch)
++
+ export CFLAGS_LTO CFLAGS_GCOV
+ libefi-test.a :
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b9796961b1b84a4c4df8aa0b3002fb1f8f3136f4 100644 (file)
@@ -0,0 +1 @@
+fix-test-includes.patch