summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-30 09:20:50 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-30 09:20:50 +0000
commit99b2ebc7ef46c21c02eb09d68465427670d855ce (patch)
tree576b13cc3b7b418ea7eb3e5ebadac2180af508c2
parent647c7a9a39ac2927c1dfcd259a0b964ad959a066 (diff)
Put GCCINCDIR here, which is the only place it is needed.
-Erik
-rw-r--r--extra/gcc-uClibc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile
index 656f246f8..d2cda3c6b 100644
--- a/extra/gcc-uClibc/Makefile
+++ b/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