wasm: update wasi-libc version

This is necessary for the next commit. It also results in a nice wasm
binary size saving of around 300 bytes.
This commit is contained in:
Ayke van Laethem
2022-06-16 03:27:47 +02:00
committed by Ron Evans
parent 64d7f1e436
commit 633fe95187
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ endif
wasi-libc: lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a
lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a:
@if [ ! -e lib/wasi-libc/Makefile ]; then echo "Submodules have not been downloaded. Please download them using:\n git submodule update --init"; exit 1; fi
cd lib/wasi-libc && make -j4 WASM_CFLAGS="-O2 -g -DNDEBUG" MALLOC_IMPL=none WASM_CC=$(CLANG) WASM_AR=$(LLVM_AR) WASM_NM=$(LLVM_NM)
cd lib/wasi-libc && make -j4 WASM_CFLAGS="-O2 -g -DNDEBUG" MALLOC_IMPL=none CC=$(CLANG) AR=$(LLVM_AR) NM=$(LLVM_NM)
# Build the Go compiler.