You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Remove explicit BINARYEN_METHOD for WebAssembly build
This option is the default since Binaryen version 21.
This commit is contained in:
@@ -86,7 +86,6 @@ def configure(env):
|
|||||||
|
|
||||||
if env['wasm'] == 'yes':
|
if env['wasm'] == 'yes':
|
||||||
env.Append(LINKFLAGS=['-s', 'BINARYEN=1'])
|
env.Append(LINKFLAGS=['-s', 'BINARYEN=1'])
|
||||||
env.Append(LINKFLAGS=['-s', '\'BINARYEN_METHOD="native-wasm"\''])
|
|
||||||
# Maximum memory size is baked into the WebAssembly binary during
|
# Maximum memory size is baked into the WebAssembly binary during
|
||||||
# compilation, so we need to enable memory growth to allow setting
|
# compilation, so we need to enable memory growth to allow setting
|
||||||
# TOTAL_MEMORY at runtime. The value set at runtime must be higher than
|
# TOTAL_MEMORY at runtime. The value set at runtime must be higher than
|
||||||
|
|||||||
Reference in New Issue
Block a user