diff --git a/Makefile b/Makefile index e3a1a5113..789695388 100644 --- a/Makefile +++ b/Makefile @@ -283,7 +283,7 @@ LINKFLAGS := $(WASIFLAGS) -Wl,-z,stack-size=1048576 $(filter-out -rdynamic,$(LIN LIBS := -lwasi-emulated-process-clocks $(filter-out -lrt,$(LIBS)) ABCMKARGS += AR="$(AR)" RANLIB="$(RANLIB)" ABCMKARGS += ARCHFLAGS="$(WASIFLAGS) -D_WASI_EMULATED_PROCESS_CLOCKS -DABC_USE_STDINT_H -DABC_NO_DYNAMIC_LINKING -DABC_NO_RLIMIT" -ABCMKARGS += OPTFLAGS="$(OPT_LEVEL)" +ABCMKARGS += OPTFLAGS="-Os" EXE = .wasm DISABLE_SPAWN := 1