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

SCons: Default optimize to auto, fixing target/dev_build inference for Web

Fixes #94087.
This commit is contained in:
Rémi Verschelde
2024-07-09 00:17:16 +02:00
parent b0467d07bf
commit 8897c77d50
2 changed files with 13 additions and 8 deletions

View File

@@ -78,6 +78,7 @@ def get_flags():
# -Os reduces file size by around 5 MiB over -O3. -Oz only saves about
# 100 KiB over -Os, which does not justify the negative impact on
# run-time performance.
# Note that this overrides the "auto" behavior for target/dev_build.
"optimize": "size",
}