summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 239ff67..7b1a8d6 100755
--- a/build
+++ b/build
@@ -4,8 +4,8 @@ build:
install:
mkdir -p dest/usr/bin
- ln -sf cpp-4.7 dest/usr/bin/cpp
set -e; for target in $$(cat ../targets); do \
+ ln -sf "$${target}-cpp-4.7" "dest/usr/bin/$${target}-cpp"; \
ln -sf "$${target}-gcc-4.7" "dest/usr/bin/$${target}-gcc"; \
ln -sf "$${target}-g++-4.7" "dest/usr/bin/$${target}-g++"; \
done