diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-18 12:33:41 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-18 12:33:41 (EDT) |
commit | e8c85262fd5ba22df382e95a369bc87342617174 (patch) | |
tree | 317b2bf070813f2779bbbf7aff6e01ea573af385 | |
parent | 7eeb5a2ecca4eb7e7a00a270bbd67fecfbb09b9c (diff) |
build: Make target-specific links.
-rwxr-xr-x | build | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,5 +6,8 @@ install: mkdir -p dest/usr/bin cp src/c89/c89.sh dest/usr/bin/c89 cp src/c99/c99.sh dest/usr/bin/c99 - ln -s gcc-4.7 dest/usr/bin/gcc + 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++"; \ + done oh-installfiles |