summaryrefslogtreecommitdiffstats
path: root/platform/web/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2024-07-09 01:25:04 +0200
committerGitHub <noreply@github.com>2024-07-09 01:25:04 +0200
commit82cedc83c9069125207c128f9a07ce3d82c317cc (patch)
treeb98a7cab89864fc23b5303a05392bdeec1065c25 /platform/web/detect.py
parentb0467d07bfd84c82de5f5dff9d21dc3a8cacd527 (diff)
parent8897c77d50e3de84fbcd33c762d89bc4e94861e1 (diff)
downloadredot-engine-82cedc83c9069125207c128f9a07ce3d82c317cc.tar.gz
Merge pull request #94107 from akien-mga/scons-optimize-auto
SCons: Default `optimize` to `auto`, fixing `target`/`dev_build` inference for Web
Diffstat (limited to 'platform/web/detect.py')
-rw-r--r--platform/web/detect.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/web/detect.py b/platform/web/detect.py
index cb4dac1125..79485ea28a 100644
--- a/platform/web/detect.py
+++ b/platform/web/detect.py
@@ -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",
}