diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-20 04:24:34 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:30 +0200 |
commit | fc352aa35c546b9ceb7ba6e49f4b1f8441210f60 (patch) | |
tree | 24cc01e35ff352989c08f8597b6c7e1132221504 /Rules.mak | |
parent | a683d89f56945e1c0f9bbf95950a36b090f48ebf (diff) |
Rules.mak: include KERNEL_HEADERS last, even there it is wrong
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |