summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 572393a..f29178f 100755
--- a/Makefile
+++ b/Makefile
@@ -267,6 +267,7 @@ lingcc-gdb:
rm -Rf $(BUILD_DIR)/lingdb
mkdir -p $(BUILD_DIR)/lingdb
cd $(BUILD_DIR)/lingdb && \
+ export PATH=$(INST_BASE)/gcc-$(VERSION_GCC)/bin:$(PATH) && \
CFLAGS="-g -O2 -static-libgcc" \
CXXFLAGS="-g -O2 -static-libgcc -static-libstdc++ -fpermissive" \
$(UNPACK_DIR)/gdb-$(VERSION_GDB)/configure \