mirror of
https://github.com/godotengine/godot
synced 2024-09-15 23:36:16 +00:00
Force threads when compiling web editor instead of erroring out
This makes the build process more seamless. A similar option is already forced for initial memorywhen needed.
This commit is contained in:
parent
249c60e9d1
commit
da19898c24
|
@ -89,10 +89,10 @@ def configure(env):
|
|||
|
||||
if env["tools"]:
|
||||
if not env["threads_enabled"]:
|
||||
print("Threads must be enabled to build the editor. Please add the 'threads_enabled=yes' option")
|
||||
sys.exit(255)
|
||||
print('Note: Forcing "threads_enabled=yes" as it is required for the web editor.')
|
||||
env["threads_enabled"] = "yes"
|
||||
if env["initial_memory"] < 64:
|
||||
print("Editor build requires at least 64MiB of initial memory. Forcing it.")
|
||||
print('Note: Forcing "initial_memory=64" as it is required for the web editor.')
|
||||
env["initial_memory"] = 64
|
||||
env.Append(CCFLAGS=["-frtti"])
|
||||
elif env["builtin_icu"]:
|
||||
|
|
Loading…
Reference in a new issue