You've already forked godot
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:
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user