summaryrefslogtreecommitdiff
path: root/platform/javascript/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-04-20 22:35:39 +0200
committerGitHub <noreply@github.com>2021-04-20 22:35:39 +0200
commit38b25617fe27704db4062579a73b2025942589f1 (patch)
tree21a3b63ebc52faa56a6f3ad2f298a6ed02efd935 /platform/javascript/detect.py
parentb06116d62ff514a6b03247660ddcccff78ccd0e3 (diff)
parent7e557bbec6fdc7f0e939bfd2c62b1f46ccf2d2db (diff)
Merge pull request #48053 from bruvzg/icu_no_except
Re-add "no-exceptions" for export templates builds with ICU.
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r--platform/javascript/detect.py3
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.