prepare-cross-toolchain-unix: Remove previous target sysroot directories

This should allow replacing the libraries in an existing, full
toolchain with the libraries from another one.
This commit is contained in:
Martin Storsjö committed 2024-07-31 23:44:13 +03:00
1 parent 1eda3dcc2e
commit 98ac9c91ca
1 file changed
+1
+1
View File
@@ -46,6 +46,7 @@ cp -a $CLANG_RESOURCE_DIR $DEST/lib/clang/$CLANG_VERSION
# Copy all arch-specific subdirectories plus the "generic" one, as is.
for arch in generic $ARCHS; do
rm -rf $DEST/$arch-w64-mingw32
cp -a $SRC/$arch-w64-mingw32 $DEST/$arch-w64-mingw32
done