[git commit] Rules.mak: include KERNEL_HEADERS last, even there it is wrong
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:30 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=fc352aa35c546b9ceb7ba6e49f4b1f8441210f60
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
Rules.mak | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index d976d75..70306f3 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -768,13 +768,14 @@ else
PTINC :=
endif
CFLAGS += -I$(top_srcdir)libc/sysdeps/linux/common
-CFLAGS += -I$(KERNEL_HEADERS)
#CFLAGS += -iwithprefix include-fixed -iwithprefix include
$(eval $(call cache-output-var,CC_IPREFIX,$(CC) -print-file-name=include))
CC_INC := -isystem $(dir $(CC_IPREFIX))include-fixed -isystem $(CC_IPREFIX)
CFLAGS += $(CC_INC)
+CFLAGS += -I$(KERNEL_HEADERS)
+
ifneq ($(DOASSERTS),y)
CFLAGS+=-DNDEBUG
endif
More information about the uClibc-cvs
mailing list