Skip to content

Commit bab2a72

Browse files
TheOnericdmitrylyzo
authored andcommitted
disable closure
There's now a new warning when closure isn't set explicitly for non-WASM builds. Currently, there are errors concerning redeclaration of the variable screen with closure enabled, so explicitly disable it. For the future, we probably want to remove the redeclaration and enable closure. Cherry-picked from: libass@45a05db
1 parent 4e414c6 commit bab2a72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ dist/js/subtitles-octopus-worker-legacy.js: src/subtitles-octopus-worker.bc src/
191191
-s LEGACY_VM_SUPPORT=1 \
192192
-s MIN_CHROME_VERSION=27 \
193193
-s MIN_SAFARI_VERSION=60005 \
194+
--closure=0 \
194195
$(EMCC_COMMON_ARGS)
195196

196197
dist/js/subtitles-octopus.js: dist/license/all src/subtitles-octopus.js

0 commit comments

Comments
 (0)