Selaa lähdekoodia

Put GCCINCDIR here, which is the only place it is needed.
-Erik

Eric Andersen 23 vuotta sitten
vanhempi
commit
99b2ebc7ef
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      extra/gcc-uClibc/Makefile

+ 1 - 1
extra/gcc-uClibc/Makefile

@@ -12,7 +12,7 @@ GCC_BIN = $(shell which $(CC))
 LD_BIN = $(shell which $(LD))
 LD_BIN = $(shell which $(LD))
 GCC_LIB = $(shell $(CC) -print-libgcc-file-name )
 GCC_LIB = $(shell $(CC) -print-libgcc-file-name )
 GCC_LIB_DIR = $(dir $(shell $(CC) -print-libgcc-file-name ))
 GCC_LIB_DIR = $(dir $(shell $(CC) -print-libgcc-file-name ))
-#GCCINCDIR inherited from Rules.mak
+GCCINCDIR:= ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}
 
 
 all: gcc-uClibc ld-uClibc
 all: gcc-uClibc ld-uClibc