-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web builds are no longer built with -Os
by default
#94087
Comments
This is somewhat related to issue #93476, but not entirely |
sorascode
pushed a commit
to sorascode/godot-soras-version
that referenced
this issue
Jul 22, 2024
…rence for Web Fixes godotengine#94087.
Akeal
pushed a commit
to Akeal/godot
that referenced
this issue
Jul 24, 2024
…rence for Web Fixes godotengine#94087.
Luis-Wong
pushed a commit
to Luis-Wong/godot
that referenced
this issue
Jul 26, 2024
…rence for Web Fixes godotengine#94087.
RadiantUwU
pushed a commit
to RadiantUwU/godot
that referenced
this issue
Jul 27, 2024
…rence for Web Fixes godotengine#94087.
2nafish117
pushed a commit
to 2nafish117/godot
that referenced
this issue
Aug 5, 2024
…rence for Web Fixes godotengine#94087.
chryan
pushed a commit
to chryan/godot
that referenced
this issue
Aug 6, 2024
…rence for Web Fixes godotengine#94087.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested versions
System information
Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7600M XT (RADV NAVI33) - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)
Issue description
When building for Web with
scons p=web target=template_release verbose=yes
, you should see it use-Os
as optimization, which is set as custom value forenv["optimize"]
inplatform/web/detect.py
.But I broke it with one of my PRs in 4.3 (likely #91791) so now this override is no longer respected and instead this code in
SConstruct
forces it tospeed
(which is the default on other platforms for release templates).ARGUMENTS
only includes command line arguments, not overrides taken fromdetect.py
.One potential solution would be to add a
auto
mode foroptimize
, and only do this magic if it'sauto
.Steps to reproduce
scons p=web target=template_release verbose=yes
Minimal reproduction project (MRP)
n/a
The text was updated successfully, but these errors were encountered: