Merge pull request #19810 from eska014/2.1-fixbuild
Explicitly disable WebAssembly in HTML5 builds
This commit is contained in:
commit
ea0c33eb53
|
@ -91,6 +91,7 @@ def configure(env):
|
||||||
env.Append(LINKFLAGS=['--compression', lzma_binpath + "," + lzma_decoder + "," + lzma_dec])
|
env.Append(LINKFLAGS=['--compression', lzma_binpath + "," + lzma_decoder + "," + lzma_dec])
|
||||||
|
|
||||||
env.Append(LINKFLAGS=['-s', 'ASM_JS=1'])
|
env.Append(LINKFLAGS=['-s', 'ASM_JS=1'])
|
||||||
|
env.Append(LINKFLAGS=['-s', 'WASM=0'])
|
||||||
env.Append(LINKFLAGS=['-s', 'EXTRA_EXPORTED_RUNTIME_METHODS="[\'FS\']"'])
|
env.Append(LINKFLAGS=['-s', 'EXTRA_EXPORTED_RUNTIME_METHODS="[\'FS\']"'])
|
||||||
env.Append(LINKFLAGS=['--separate-asm'])
|
env.Append(LINKFLAGS=['--separate-asm'])
|
||||||
env.Append(LINKFLAGS=['-O2'])
|
env.Append(LINKFLAGS=['-O2'])
|
||||||
|
|
Loading…
Reference in New Issue