[PATCH v2 2/4] build: Use INCLUDES for normal CFLAGS in addition to CFLAGS_ARCH

Atsushi Kumagai kumagai-atsushi at mxc.nes.nec.co.jp
Mon Mar 10 01:26:34 EDT 2014


> Useful e.g., when the system headers is in some build directory.
>
>Signed-off-by: Simon Kagstrom <simon.kagstrom at netinsight.net>
>---
> Makefile |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/Makefile b/Makefile
>index d660951..57e7e44 100644
>--- a/Makefile
>+++ b/Makefile
>@@ -8,7 +8,7 @@ ifeq ($(strip $CC),)
> CC	= gcc
> endif
>
>-CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
>+CFLAGS = $(INCLUDES) -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
> 	  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
> 	  -DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(DATE)"'
> CFLAGS_ARCH	= $(INCLUDES) -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
                  ^^^^^^^^^^^
CFLAGS_ARCH also doesn't use INCLUDES in the upstream version,
so this diff and the subject of this patch are wrong.


Thanks
Atsushi Kumagai

>--
>1.7.9.6
>
>
>_______________________________________________
>kexec mailing list
>kexec at lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/kexec


More information about the kexec mailing list