diff options
| author | Steve McIntyre <steve@einval.com> | 2022-04-27 23:15:28 +0100 |
|---|---|---|
| committer | Steve McIntyre <steve@einval.com> | 2022-04-28 00:06:41 +0100 |
| commit | edae75636d6422c3f05fe09cad5a6cc85f3b0458 (patch) | |
| tree | 280cb29fd4956ef2efbc1e22331315be48d503f7 | |
| parent | b947ca6ac04943b66e70d37fc00c202eabf2c090 (diff) | |
| download | efi-boot-shim-edae75636d6422c3f05fe09cad5a6cc85f3b0458.tar.gz efi-boot-shim-edae75636d6422c3f05fe09cad5a6cc85f3b0458.zip | |
Try again with includes
| -rw-r--r-- | debian/patches/fix-test-includes.patch | 14 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/fix-test-includes.patch b/debian/patches/fix-test-includes.patch new file mode 100644 index 00000000..5c76ba42 --- /dev/null +++ b/debian/patches/fix-test-includes.patch @@ -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 : diff --git a/debian/patches/series b/debian/patches/series index e69de29b..b9796961 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-test-includes.patch |
