mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 18:33:34 +02:00
web-wasi-threads: use target wasm32-wasi-threads in sysroot wrapper
And add -pthread flag.
This commit is contained in:
3
web-wasi-threads/clang-wasi-threads-sysroot.sh
Executable file
3
web-wasi-threads/clang-wasi-threads-sysroot.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
exec ${WASI_SDK_PATH}/bin/clang -pthread --target=wasm32-wasi-threads --sysroot=${WASI_SYSROOT} "$@"
|
Reference in New Issue
Block a user