1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

[JS, Android] Re-add "no-exceptions" for export templates builds with ICU.

This commit is contained in:
bruvzg
2021-04-20 21:50:48 +03:00
parent 1616055b3b
commit 7e557bbec6
2 changed files with 5 additions and 2 deletions

View File

@@ -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.