From 8897c77d50e3de84fbcd33c762d89bc4e94861e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 9 Jul 2024 00:17:16 +0200 Subject: SCons: Default `optimize` to `auto`, fixing `target`/`dev_build` inference for Web Fixes #94087. --- platform/web/detect.py | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/web/detect.py') 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", } -- cgit v1.2.3