Explorar o código

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

Eric Andersen %!s(int64=23) %!d(string=hai) anos
pai
achega
99b2ebc7ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))
 GCC_LIB = $(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