Browse Source

add worker arg

pull/509/head
dreamer 5 days ago
parent
commit
ea36d2ac61
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile.base.mk

+ 1
- 1
Makefile.base.mk View File

@@ -347,7 +347,7 @@ LINK_FLAGS = $(LINK_OPTS) $(LDFLAGS)

ifeq ($(WASM),true)
# Special flag for emscripten
LINK_FLAGS += -sENVIRONMENT=web -sLLD_REPORT_UNDEFINED
LINK_FLAGS += -sENVIRONMENT=web,worker -sLLD_REPORT_UNDEFINED
else ifneq ($(MACOS),true)
# Not available on MacOS
LINK_FLAGS += -Wl,--no-undefined


Loading…
Cancel
Save