diff options
| -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 |
