aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAnuraag Agrawal <[email protected]>2023-01-06 15:30:36 +0900
committerRon Evans <[email protected]>2023-01-07 19:53:48 +0100
commit0566bbfeb4f09adecfa1658ad7c67ac652057dce (patch)
treeb830ab848c29dd21dd50cb75c246303d0889ecd0
parent70c4e1cf965290e289583553441ce1b1009ca30b (diff)
downloadtinygo-0566bbfeb4f09adecfa1658ad7c67ac652057dce.tar.gz
tinygo-0566bbfeb4f09adecfa1658ad7c67ac652057dce.zip
Use renamed EXTRA_CFLAGS when building wasi-libc
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 09ac979cb..cc359d569 100644
--- a/Makefile
+++ b/Makefile
@@ -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.