mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
SCons: Default optimize
to auto
, fixing target
/dev_build
inference for Web
Fixes #94087.
This commit is contained in:
parent
b0467d07bf
commit
8897c77d50
2 changed files with 13 additions and 8 deletions
|
@ -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",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue