Skip to content
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] Remove unnecessary EMCC_FORCE_STDLIBS in dlink builds #93853

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Jul 2, 2024

As discussed with upstream, the C/C++ standard library is always fully included when building with MAIN_MODULE=1 (not subject to DCE), so using EMCC_FORCE_STDLIBS is not necessary in our case.

This also, incidentally, fixes non-threaded dlink builds without having to wait for emscripten-core/emscripten#22171 to be released.

platform/web/SCsub Outdated Show resolved Hide resolved
@akien-mga akien-mga changed the title [Web] Remove unnecessary EMCC_FORCE_STDLIBS in dlink builds [Web] Remove unnecessary EMCC_FORCE_STDLIBS in dlink builds Jul 2, 2024
As discussed with upstream, the C/C++ standard library is always fully
included when building with MAIN_MODULE=1, so using EMCC_FORCE_STDLIBS
is not necessary in our case.
@Faless Faless force-pushed the web/no_force_stdlib branch from cec9171 to 67c0686 Compare July 2, 2024 14:47
@akien-mga akien-mga merged commit f0d15bb into godotengine:master Jul 2, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

@Faless Faless deleted the web/no_force_stdlib branch July 2, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants