Install unprefixed tools when cross compiling the toolchain

This commit is contained in:
Martin Storsjö committed 2018-10-10 23:33:19 +03:00
1 parent b5deb9fc1f
commit 9069c627a9
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -64,4 +64,12 @@ if [ -n "$EXEEXT" ]; then
if [ ! -L clang$EXEEXT ]; then
mv clang$EXEEXT clang-$CLANG_MAJOR$EXEEXT
fi
if [ -n "$HOST" ]; then
for exec in clang clang++ gcc g++ ar ranlib nm strings widl; do
ln -sf $HOST-$exec$EXEEXT $exec$EXEEXT
done
for exec in ld objdump windres dlltool objcopy strip; do
ln -sf $HOST-$exec $exec
done
fi
fi