You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Add workaround for emscripten >= 3.1.47 LTO build
(cherry picked from commit 656bc22e28)
This commit is contained in:
committed by
Rémi Verschelde
parent
934e4a616e
commit
a671234483
@@ -206,6 +206,9 @@ def configure(env):
|
|||||||
# Workaround https://github.com/emscripten-core/emscripten/issues/19781.
|
# Workaround https://github.com/emscripten-core/emscripten/issues/19781.
|
||||||
if cc_semver >= (3, 1, 42) and cc_semver < (3, 1, 46):
|
if cc_semver >= (3, 1, 42) and cc_semver < (3, 1, 46):
|
||||||
env.Append(LINKFLAGS=["-Wl,-u,scalbnf"])
|
env.Append(LINKFLAGS=["-Wl,-u,scalbnf"])
|
||||||
|
# Workaround https://github.com/emscripten-core/emscripten/issues/16836.
|
||||||
|
if cc_semver >= (3, 1, 47):
|
||||||
|
env.Append(LINKFLAGS=["-Wl,-u,_emscripten_run_callback_on_thread"])
|
||||||
|
|
||||||
if env["gdnative_enabled"]:
|
if env["gdnative_enabled"]:
|
||||||
if cc_semver < (2, 0, 10):
|
if cc_semver < (2, 0, 10):
|
||||||
|
|||||||
Reference in New Issue
Block a user