summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index 8aaeb16..110c6ee 100755
--- a/build
+++ b/build
@@ -1,5 +1,7 @@
#! /usr/bin/make -f
+gcc_base_version = $$(sed 's/^GCC-Base-Version: //i' ../substvars)
+
build:
install:
@@ -8,7 +10,7 @@ install:
for exe in cpp gcc g++; do \
dir="$${exe}-$${target}.data/usr/bin"; \
mkdir -p "$${dir}"; \
- ln -sf "$${target}-$${exe}-4.7" \
+ ln -sf "$${target}-$${exe}-$(gcc_base_version)" \
"$${dir}/$${target}-$${exe}"; \
done; \
done