diff options
author | Anuraag Agrawal <[email protected]> | 2023-01-06 15:30:36 +0900 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-01-07 19:53:48 +0100 |
commit | 0566bbfeb4f09adecfa1658ad7c67ac652057dce (patch) | |
tree | b830ab848c29dd21dd50cb75c246303d0889ecd0 | |
parent | 70c4e1cf965290e289583553441ce1b1009ca30b (diff) | |
download | tinygo-0566bbfeb4f09adecfa1658ad7c67ac652057dce.tar.gz tinygo-0566bbfeb4f09adecfa1658ad7c67ac652057dce.zip |
Use renamed EXTRA_CFLAGS when building wasi-libc
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -263,7 +263,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 -mnontrapping-fptoint -msign-ext" MALLOC_IMPL=none CC=$(CLANG) AR=$(LLVM_AR) NM=$(LLVM_NM) + cd lib/wasi-libc && make -j4 EXTRA_CFLAGS="-O2 -g -DNDEBUG -mnontrapping-fptoint -msign-ext" MALLOC_IMPL=none CC=$(CLANG) AR=$(LLVM_AR) NM=$(LLVM_NM) # Build the Go compiler. |