OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e25c10
)
- use -print-file-name
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 23 May 2008 21:57:45 +0000
(21:57 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 23 May 2008 21:57:45 +0000
(21:57 -0000)
Rules.mak
patch
|
blob
|
history
diff --git
a/Rules.mak
b/Rules.mak
index
8d1853c
..
b68ae26
100644
(file)
--- a/
Rules.mak
+++ b/
Rules.mak
@@
-598,7
+598,9
@@
else
endif
CFLAGS += -I$(KERNEL_HEADERS)
-CFLAGS += -iwithprefix include-fixed -iwithprefix include
+#CFLAGS += -iwithprefix include-fixed -iwithprefix include
+CC_IPREFIX:=$(shell $(CC) --print-file-name=include)
+CFLAGS += -I$(dir $(CC_IPREFIX))/include-fixed -I$(CC_IPREFIX)
ifneq ($(DOASSERTS),y)
CFLAGS+=-DNDEBUG