Browse Source

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

Eric Andersen 23 years ago
parent
commit
99b2ebc7ef
1 changed files with 1 additions and 1 deletions
  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