diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-01-19 17:07:20 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-01-19 17:07:20 +0100 |
commit | da19898c24d1b0122949ab61726618a332ed69cd (patch) | |
tree | 9fff335aabb8d1270e69ea655f1b267b04eabde5 /platform | |
parent | 249c60e9d1aacd07d87786db8059f30aed02bb68 (diff) |
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.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/javascript/detect.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index b57f3b3f16..b6be44fbb2 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -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"]: |