It could contain vital information about header location in a
cross-build environment like stubdom.

Signed-off-by: Wei Liu <wei.l...@citrix.com>
---
Cc: Steven Haigh <net...@crc.id.au>
Cc: Ian Jackson <ian.jack...@eu.citrix.com>
Cc: Julien Grall <julien.gr...@arm.com>
---
 tools/Rules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/Rules.mk b/tools/Rules.mk
index 7cb28f5c4e..f592241c81 100644
--- a/tools/Rules.mk
+++ b/tools/Rules.mk
@@ -226,7 +226,7 @@ INSTALL_PYTHON_PROG = \
 
 headers.chk:
        for i in $(filter %.h,$^); do \
-           $(CC) -x c -ansi -Wall -Werror $(CFLAGS_xeninclude) \
+           $(CC) $(CPPFLAGS) -x c -ansi -Wall -Werror $(CFLAGS_xeninclude) \
                  -S -o /dev/null $$i || exit 1; \
            echo $$i; \
        done >$@.new
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to