From f6309f0281c6c2947ccd877f50ba0aa1df2d065b Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 25 Nov 2021 13:48:26 +0100 Subject: [PATCH] Disable forced exports (introduced in 72b8bf53) for wasm. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1e80766..3995546 100644 --- a/Makefile +++ b/Makefile @@ -108,8 +108,8 @@ EMCCFLAGS_WASM += -s TOTAL_STACK=65536 -s TOTAL_MEMORY=262144 EMCCFLAGS_ASMJS += -s WASM=0 -EMCC.c = $(EMCC) $(CFLAGS) $(CPPFLAGS) -c -DNDEBUG -EMCC.cc = $(EMCC) $(CXXFLAGS) $(CPPFLAGS) -c -DNDEBUG +EMCC.c = $(EMCC) $(CFLAGS) $(CPPFLAGS) -c -DNDEBUG -DOLM_STATIC_DEFINE=1 +EMCC.cc = $(EMCC) $(CXXFLAGS) $(CPPFLAGS) -c -DNDEBUG -DOLM_STATIC_DEFINE=1 EMCC_LINK = $(EMCC) $(LDFLAGS) $(EMCCFLAGS) AFL_CC = afl-clang-fast