summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-05 16:50:27 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:34:31 -0700
commit90e074e3ddf9de2df44622d9e753a5a9db0220b8 (patch)
tree56323a12b0708d9fe36181b1e8d0ab7fdc5b4e4a
parent73591018c44e785d08d7636e02c671c4c5b56f97 (diff)
downloaduClibc-alpine-90e074e3ddf9de2df44622d9e753a5a9db0220b8.tar.bz2
uClibc-alpine-90e074e3ddf9de2df44622d9e753a5a9db0220b8.tar.xz
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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 771100585..d746e2a2f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -664,7 +664,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)