Skip to content

Commit 9a87e54

Browse files
authored
Don't copy clang from wasi-sdk, which can't build for hosts
1 parent 93fe6c5 commit 9a87e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/webassembly/build-toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $SOURCE_PATH/swift/utils/build-script \
6969

7070
# Merge wasi-sdk and the toolchain
7171
cp -a $WASI_SDK_PATH/lib/clang $HOST_TOOLCHAIN_SDK/usr/lib
72-
cp -a $WASI_SDK_PATH/bin/{clang*,*ld,llvm-ar} $HOST_TOOLCHAIN_SDK/usr/bin
72+
cp -a $WASI_SDK_PATH/bin/{*ld,llvm-ar} $HOST_TOOLCHAIN_SDK/usr/bin
7373
cp -r $WASI_SDK_PATH/share/wasi-sysroot $HOST_TOOLCHAIN_SDK/usr/share
7474

7575
# Replace absolute sysroot path with relative path

0 commit comments

Comments
 (0)