mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 10:23:34 +02:00
web-wasi: Bump to WASI-SDK 17
The binary linux SDK in version 17 requires a newer glibc than we have available, so we have to use our own patched clang. This follows the approach in: https://github.com/WebAssembly/wasi-sdk/pull/271
This commit is contained in:
@ -6,5 +6,7 @@ set(CMAKE_SYSROOT $ENV{WASI_SYSROOT})
|
||||
|
||||
set(CMAKE_C_COMPILER /usr/local/bin/clang-wasi-sysroot.sh)
|
||||
set(CMAKE_CXX_COMPILER /usr/local/bin/clang++-wasi-sysroot.sh)
|
||||
set(CMAKE_AR llvm-ar-$ENV{LLVM_VERSION})
|
||||
set(CMAKE_RANLIB llvm-ranlib-$ENV{LLVM_VERSION})
|
||||
|
||||
set(CMAKE_CROSSCOMPILING_EMULATOR /wasi-runtimes/wasmtime/bin/wasmtime-pwd.sh)
|
||||
|
Reference in New Issue
Block a user