ld64: Swap LTO_RPATH to LTO_LIB - Fixes LTO on macOS #121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Gcenx/patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes LTO linking on macOS this follows what's done with other libraries in ld_LDADD section
Closes #120
ld64 shouldn't link against libLTO. The library is loaded dynamically. If linking against it is indeed needed on macOS, then feel free to adjust the PR so it affects only macOS.
I’ll look over this again, I can’t remember if the rpath was configured correctly or not.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.