diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-05 16:50:27 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-05 20:27:16 -0400 |
commit | 651d0688d20de555564b393ea7fee79ea1a1611d (patch) | |
tree | 2631265e92909cca43af2f0ec51869d9e006d974 | |
parent | 38265c7af552c1874b75c76818a082d2841c717b (diff) |
use -isystem with gcc paths
Use -isystem to include gcc header paths rather than -I as these are system
paths, not uClibc specific paths.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -663,7 +663,7 @@ CFLAGS += -I$(KERNEL_HEADERS) #CFLAGS += -iwithprefix include-fixed -iwithprefix include CC_IPREFIX := $(shell $(CC) --print-file-name=include) -CC_INC := -I$(dir $(CC_IPREFIX))include-fixed -I$(CC_IPREFIX) +CC_INC := -isystem $(dir $(CC_IPREFIX))include-fixed -isystem $(CC_IPREFIX) CFLAGS += $(CC_INC) ifneq ($(DOASSERTS),y) |