[TheOneric] Update emscripten 2.0.34#39
Merged
dmitrylyzo merged 5 commits intojellyfin:masterfrom Dec 23, 2022
Merged
Conversation
Future emscripten versions warn if link-only options are set during compilation. Cherry-picked from: libass@9b1fc2e make: also specify optimisation level for linking With emscripten, LLVM is translated to JS during linking and the optimisation level also has an effect here. This was a regression from 9b1fc2e and apart from performance also brings the total size of the distributed files back down to ~7MiB from ~19MiB after the options were split. Cherry-picked from: libass@952afbd
All builds but brotli already set NO_EXIT_RUNTIME, and in brotli's case it was probably an oversight for the flag to be missing. All dependencies, but not the final jso linkage also set MODULARIZE, but not -s 'EXPORT_NAME="someting"' as emscripten docs suggest should be done. But since we only use static libs, the final ones are also actually the only linking occuring, so just remove the flag. Cherry-picked from: libass@ebcfe36
It's a link-only setting and since we only build static libs only relevant in the final linking step. Cherry-picked from: libass@8d41bd1
This is no longer implied in future emscripten versions. Cherry-picked from: libass@6bee3c8
Freetype upstream made changes to remove the need for our fcstat patch,
but we actually also need to update emscripten as linking to fstatfs is
bugged in our currently used version and will lead to runtime errors.
- Since emscripten 2.0.26 unresolved symbols cause errors at link time
instead of only at runtime.
- The following commit contained in 2.0.27 fixed fstatfs linking:
emscripten-core/emscripten@2126d3c
Cherry-picked from: libass@f92d7ce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pulling from the upstream.
Original author: TheOneric
Part of libass#135