mirror of
https://git.busybox.net/uClibc
synced 2025-05-09 07:11:58 +08:00
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.
This commit is contained in:
parent
05caf5ca49
commit
a6dfcd0342
@ -309,9 +309,7 @@ ifeq ($(UCLIBC_BUILD_NOW),y)
|
|||||||
LDFLAGS+=-z now
|
LDFLAGS+=-z now
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include'
|
CFLAGS += -iwithprefix include-fixed -iwithprefix include
|
||||||
#CFLAGS+=-iwithprefix include
|
|
||||||
CFLAGS+=-isystem $(shell $(CC) -print-file-name=include)
|
|
||||||
|
|
||||||
ifneq ($(DOASSERTS),y)
|
ifneq ($(DOASSERTS),y)
|
||||||
CFLAGS += -DNDEBUG
|
CFLAGS += -DNDEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user