[git commit 0_9_28] Jie Zhang writes: GCC 4.3 will put fixed headers in a seperate include-fixed directory. And I don't think that there are people who are still using the 'stupid' GCC which cannot handle -iwithprefix, at least it works with gcc-3.3.x.
Mike Frysinger
vapier at gentoo.org
Wed Aug 19 11:29:41 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=a6dfcd03425656208fc548c75f955016c26e8f71
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0_9_28
---
Rules.mak | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index a8655d2..1cfffc3 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -309,9 +309,7 @@ ifeq ($(UCLIBC_BUILD_NOW),y)
LDFLAGS+=-z now
endif
-# Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include'
-#CFLAGS+=-iwithprefix include
-CFLAGS+=-isystem $(shell $(CC) -print-file-name=include)
+CFLAGS += -iwithprefix include-fixed -iwithprefix include
ifneq ($(DOASSERTS),y)
CFLAGS += -DNDEBUG
--
1.6.3.3
More information about the uClibc-cvs
mailing list