summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-18 13:00:24 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-18 13:00:24 (EDT)
commitde0d58686a6b4f6b65daf0fabf026ed70a0cad73 (patch)
tree7e90e8b04318f3aa1e0dbb938bf7605f77c4f11f /build
parent92d3c36a06818cd23ff1442546aa205e29a419c3 (diff)
build: Force link creation.
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index f7aa255..c75e369 100755
--- a/build
+++ b/build
@@ -7,7 +7,7 @@ install:
cp src/c89/c89.sh dest/usr/bin/c89
cp src/c99/c99.sh dest/usr/bin/c99
set -e; for target in $$(cat ../targets); do \
- ln -s "$${target}-gcc-4.7" "dest/usr/bin/$${target}-gcc"; \
- ln -s "$${target}-g++-4.7" "dest/usr/bin/$${target}-g++"; \
+ ln -sf "$${target}-gcc-4.7" "dest/usr/bin/$${target}-gcc"; \
+ ln -sf "$${target}-g++-4.7" "dest/usr/bin/$${target}-g++"; \
done
oh-installfiles