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.
(cherry picked from commit da19898c24
)
This commit is contained in:
parent
d62166f68f
commit
96a325dec8
1 changed files with 3 additions and 3 deletions
|
@ -88,10 +88,10 @@ def configure(env):
|
||||||
|
|
||||||
if env["tools"]:
|
if env["tools"]:
|
||||||
if not env["threads_enabled"]:
|
if not env["threads_enabled"]:
|
||||||
print("Threads must be enabled to build the editor. Please add the 'threads_enabled=yes' option")
|
print('Note: Forcing "threads_enabled=yes" as it is required for the web editor.')
|
||||||
sys.exit(255)
|
env["threads_enabled"] = "yes"
|
||||||
if env["initial_memory"] < 64:
|
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["initial_memory"] = 64
|
||||||
else:
|
else:
|
||||||
# Disable exceptions and rtti on non-tools (template) builds
|
# Disable exceptions and rtti on non-tools (template) builds
|
||||||
|
|
Loading…
Reference in a new issue