From: Michael Brown Date: Thu, 25 Apr 2013 12:45:41 +0000 (+0100) Subject: [build] Allow sparse to find compiler.h X-Git-Tag: v1.20.1~1533 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b9ce33c5cb046cc740467e56c5e05944b4d7e54;p=thirdparty%2Fipxe.git [build] Allow sparse to find compiler.h sparse seems to have problems finding compiler.h when specified as "-include compiler.h"; one possible explanation is that it ignores the include path. Fix by using "-include include/compiler.h". Signed-off-by: Michael Brown --- diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index d40f226f6..99de917ab 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -475,7 +475,7 @@ LDFLAGS += --gc-sections # compiler.h is needed for our linking and debugging system # -CFLAGS += -include compiler.h +CFLAGS += -include include/compiler.h # CFLAGS for specific object types #