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:
1 parent
1eda3dcc2e
commit
98ac9c91ca
1 file changed
+1
@@ -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.
|
# Copy all arch-specific subdirectories plus the "generic" one, as is.
|
||||||
for arch in generic $ARCHS; do
|
for arch in generic $ARCHS; do
|
||||||
|
rm -rf $DEST/$arch-w64-mingw32
|
||||||
cp -a $SRC/$arch-w64-mingw32 $DEST/$arch-w64-mingw32
|
cp -a $SRC/$arch-w64-mingw32 $DEST/$arch-w64-mingw32
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user