build-compiler-rt.sh: Don't make the i386-w64-mingw32 symlink if not building i686

This commit is contained in:
Martin Storsjö committed 2019-12-03 23:31:08 +02:00
1 parent af1099048a
commit bcfb883687
1 file changed
+5 -1
+5 -1
View File
@@ -40,7 +40,11 @@ fi
# i686-w64-mingw32, but due to the compiler-rt cmake peculiarities, we
# need to refer to it as i386 at this stage.
if [ ! -e "$PREFIX/i386-w64-mingw32" ]; then
ln -sfn i686-w64-mingw32 "$PREFIX/i386-w64-mingw32" || true
case $ARCHS in
*i686*)
ln -sfn i686-w64-mingw32 "$PREFIX/i386-w64-mingw32" || true
;;
esac
fi
cd llvm-project/compiler-rt