Skip to content

Commit 2b73900

Browse files
Minimize the change further.
1 parent dcfad64 commit 2b73900

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/system_libs.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ def get_cflags(self):
725725
if self.is_mt:
726726
cflags += ['-pthread', '-sWASM_WORKERS']
727727
if self.is_ww:
728-
cflags += ['-sSHARED_MEMORY=1']
728+
cflags += ['-sWASM_WORKERS']
729729
return cflags
730730

731731
def get_base_name(self):
@@ -1425,8 +1425,6 @@ def __init__(self, **kwargs):
14251425

14261426
def get_cflags(self):
14271427
cflags = super().get_cflags()
1428-
if self.is_ww:
1429-
cflags += ['-sWASM_WORKERS']
14301428
if self.debug:
14311429
cflags += ['-D_DEBUG']
14321430
# library_wasm_worker.c contains an assert that a nonnull parameter

0 commit comments

Comments
 (0)