Fix wasm build
This commit is contained in:
parent
dc1a1b5d99
commit
fceac5ee77
1 changed files with 2 additions and 1 deletions
|
|
@ -270,6 +270,7 @@ LINK_FLAGS += -sALLOW_MEMORY_GROWTH
|
||||||
LINK_FLAGS += -sINITIAL_MEMORY=64Mb
|
LINK_FLAGS += -sINITIAL_MEMORY=64Mb
|
||||||
LINK_FLAGS += -sLZ4=1
|
LINK_FLAGS += -sLZ4=1
|
||||||
LINK_FLAGS += --shell-file=../emscripten/shell.html
|
LINK_FLAGS += --shell-file=../emscripten/shell.html
|
||||||
|
LINK_FLAGS += -O3
|
||||||
else ifeq ($(HAIKU),true)
|
else ifeq ($(HAIKU),true)
|
||||||
LINK_FLAGS += -lpthread
|
LINK_FLAGS += -lpthread
|
||||||
else
|
else
|
||||||
|
|
@ -375,7 +376,7 @@ $(TARGET_DIR)/%.app/Contents/Resources/distrho.icns: ../../utils/distrho.icns
|
||||||
|
|
||||||
ifeq ($(WASM),true)
|
ifeq ($(WASM),true)
|
||||||
$(CURDIR)/lv2: $(LV2_RESOURCES)
|
$(CURDIR)/lv2: $(LV2_RESOURCES)
|
||||||
$(shell wget -O - https://falktx.com/data/wasm-things-2022-08-15.tar.gz | tar xz wasm-things-2022-08-15.tar.gz)
|
wget -O - https://falktx.com/data/wasm-things-2022-08-15.tar.gz | tar xz -C $(CURDIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue