A few more wasm tweaks
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
8b9afb3d4f
commit
034515190c
3 changed files with 145 additions and 1 deletions
|
@ -205,7 +205,8 @@ BASE_FLAGS += -Wno-unused-variable
|
|||
# extra linker flags
|
||||
|
||||
ifeq ($(WASM),true)
|
||||
LINK_FLAGS += --preload-file=./resources -sALLOW_MEMORY_GROWTH
|
||||
LINK_FLAGS += --preload-file=./resources -sALLOW_MEMORY_GROWTH -sINITIAL_MEMORY=32Mb -sLZ4=1 --shell-file=../emscripten/shell.html
|
||||
# -sDISABLE_EXCEPTION_CATCHING=1
|
||||
else ifeq ($(HAIKU),true)
|
||||
LINK_FLAGS += -lpthread
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue