diff --git a/build-compiler-rt.sh b/build-compiler-rt.sh index 76fd961..7e1049e 100755 --- a/build-compiler-rt.sh +++ b/build-compiler-rt.sh @@ -22,7 +22,7 @@ fi # Add a symlink for i386 -> i686; we normally name the toolchain # i686-w64-mingw32, but due to the compiler-rt cmake peculiarities, we # need to refer to it as i386 at this stage. -ln -sf i686-w64-mingw32 $PREFIX/i386-w64-mingw32 || true +ln -sfn i686-w64-mingw32 $PREFIX/i386-w64-mingw32 || true cd compiler-rt diff --git a/build-mingw-w64.sh b/build-mingw-w64.sh index dd4c879..5e64ab7 100755 --- a/build-mingw-w64.sh +++ b/build-mingw-w64.sh @@ -33,7 +33,7 @@ make install cd ../.. for arch in $ARCHS; do mkdir -p $PREFIX/$arch-w64-mingw32 - ln -sf ../generic-w64-mingw32/include $PREFIX/$arch-w64-mingw32/include + ln -sfn ../generic-w64-mingw32/include $PREFIX/$arch-w64-mingw32/include done cd mingw-w64-crt