diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-04-20 21:50:48 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-04-20 21:50:48 +0300 |
commit | 7e557bbec6fdc7f0e939bfd2c62b1f46ccf2d2db (patch) | |
tree | c854382c66c11ec709250a366ff1fdd147ce11e9 /platform/javascript | |
parent | 1616055b3b374aac24d4607d6686a87dfa41a535 (diff) |
[JS, Android] Re-add "no-exceptions" for export templates builds with ICU.
Diffstat (limited to 'platform/javascript')
-rw-r--r-- | platform/javascript/detect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index ac8d8de7e0..09c4bd931a 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -95,8 +95,9 @@ def configure(env): if env["initial_memory"] < 64: print("Editor build requires at least 64MiB of initial memory. Forcing it.") env["initial_memory"] = 64 - elif env["builtin_icu"]: env.Append(CCFLAGS=["-frtti"]) + elif env["builtin_icu"]: + env.Append(CCFLAGS=["-fno-exceptions", "-frtti"]) else: # Disable exceptions and rtti on non-tools (template) builds # These flags help keep the file size down. |