From 98ac9c91ca47a172b99f6a6b1ba84de0f954941c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 30 Jul 2024 14:50:13 +0300 Subject: [PATCH] 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. --- prepare-cross-toolchain-unix.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/prepare-cross-toolchain-unix.sh b/prepare-cross-toolchain-unix.sh index 75846a0..ce00361 100755 --- a/prepare-cross-toolchain-unix.sh +++ b/prepare-cross-toolchain-unix.sh @@ -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