]> git.proxmox.com Git - efi-boot-shim.git/blob - debian/patches/fix-test-includes.patch
5c76ba42753df554542a034131f2081281bdd1e4
[efi-boot-shim.git] / debian / patches / fix-test-includes.patch
1 diff --git a/include/test.mk b/include/test.mk
2 index 1a4fc220..e965c600 100644
3 --- a/include/test.mk
4 +++ b/include/test.mk
5 @@ -50,6 +50,9 @@ CFLAGS = $(OPTIMIZATIONS) -std=gnu11 \
6 # of the "include" directory
7 CFLAGS += -isystem $(shell $(CC) $(ARCH_CFLAGS) -print-file-name=include-fixed)
8
9 +# And on Debian also check the multi-arch include path
10 +CFLAGS += -isystem /usr/include/$(shell $(CC) $(ARCH_CFLAGS) -print-multiarch)
11 +
12 export CFLAGS_LTO CFLAGS_GCOV
13
14 libefi-test.a :