[git commit] use -isystem with gcc paths
Mike Frysinger
vapier at gentoo.org
Sun Jul 5 20:50:27 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=90e074e3ddf9de2df44622d9e753a5a9db0220b8
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl
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 at gentoo.org>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
Rules.mak | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index 7711005..d746e2a 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)
--
1.6.3.3
More information about the uClibc-cvs
mailing list