summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhyscik <mynameisgennadiy@vk.com>2025-12-16 17:25:58 +0500
committerPhyscik <mynameisgennadiy@vk.com>2025-12-16 17:25:58 +0500
commit95ef1315c6fea2de25ee4bef9f858d3cd471e46f (patch)
treebf19b432210bca7b02d4e04fae2dc0f73d1a962a /Makefile
parent942d5d8b84f55d71a275a7d6f3446587ab7368a3 (diff)
Wasm -> goHEADmaster
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