-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable link time -Os in opt builds (#348)
`ld` starting Xcode 15 (`ld_prime`) now supports this option to perform more general code de-deduplication passes which it was not doing prior. It is not documented anywhere but Xcode 15+ has this enabled by default in the default Release scheme (which has`Optimization Level = Fastest/Smallest -Os` by default). I'm adding this as a separate feature so that it can be disabled but there could be an argument whether to enable this by default ! Fun note: passing any character after `-O` performs the same as `-Os`...
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 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