Install unprefixed tools when cross compiling the toolchain
This commit is contained in:
1 parent
b5deb9fc1f
commit
9069c627a9
2 files changed
+9
-1
No files matched your search
@@ -16,6 +16,6 @@ export HOST=$CROSS_ARCH-w64-mingw32
|
|||||||
|
|
||||||
./build-llvm.sh $PREFIX
|
./build-llvm.sh $PREFIX
|
||||||
./strip-llvm.sh $PREFIX
|
./strip-llvm.sh $PREFIX
|
||||||
./install-wrappers.sh $PREFIX
|
|
||||||
./build-mingw-w64-widl.sh $PREFIX
|
./build-mingw-w64-widl.sh $PREFIX
|
||||||
|
./install-wrappers.sh $PREFIX
|
||||||
./prepare-cross-toolchain.sh $NATIVE $PREFIX $CROSS_ARCH
|
./prepare-cross-toolchain.sh $NATIVE $PREFIX $CROSS_ARCH
|
||||||
@@ -64,4 +64,12 @@ if [ -n "$EXEEXT" ]; then
|
|||||||
if [ ! -L clang$EXEEXT ]; then
|
if [ ! -L clang$EXEEXT ]; then
|
||||||
mv clang$EXEEXT clang-$CLANG_MAJOR$EXEEXT
|
mv clang$EXEEXT clang-$CLANG_MAJOR$EXEEXT
|
||||||
fi
|
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
|
fi
|
||||||
Reference in new issue
Block a user