summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1f14348..496a2f2 100644
--- a/Makefile
+++ b/Makefile
@@ -2,5 +2,4 @@ all: build_wasm
cd inter; go run .
build_wasm:
- emcc hello.c -sEXPORTED_FUNCTIONS="_Add" -o hello.wasm --no-entry
-
+ emcc c_wasm/hello.c -sEXPORTED_FUNCTIONS="_Add" -s ERROR_ON_UNDEFINED_SYMBOLS=0 -o hello.wasm --no-entry