[ar71xx] update kernel config
[openwrt.git] / toolchain / uClibc / patches / 910-gcc_4_3_include_fixed.patch
1 --- a/Rules.mak
2 +++ b/Rules.mak
3 @@ -498,7 +498,8 @@ CFLAGS += -I$(KERNEL_HEADERS)
4
5 # Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include'
6 #CFLAGS+=-iwithprefix include
7 -CFLAGS+=-isystem $(shell $(CC) -print-file-name=include)
8 +CC_IPREFIX:=$(shell $(CC) -print-file-name=include)
9 +CFLAGS+=-isystem $(CC_IPREFIX) -isystem $(CC_IPREFIX)-fixed
10
11 ifneq ($(DOASSERTS),y)
12 CFLAGS+=-DNDEBUG
This page took 0.04721 seconds and 5 git commands to generate.