Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement EMCC_FORCE_STDLIBS using --whole-archive (#7274)
Previously when using EMCC_FORCE_STDLIBS we were building a second `.bc` copy of any `.a` libraries. Not that we have --whole-archive/--no-whole-archive we no longer need to do this. This change also refactors a bunch of code in system_libs that includes a couple of fixes: - Libraries can now depend in other libraries that appear earlier in the list. - Libraries that are depended on by forced libraries are not themselves treated as forced.
- Loading branch information
Showing
4 changed files
with
103 additions
and
95 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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