From 7cd27e118237b5736b8b80f1765635da65ed1256 Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Wed, 24 Jul 2024 21:31:35 +0200 Subject: [PATCH] Makefile: remove accidental abc opt level override for wasi builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e3a1a51136d..789695388ae 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