ld64: Swap LTO_RPATH to LTO_LIB - Fixes LTO on macOS #121

Open
Gcenx wants to merge 1 commit from Gcenx/patch-1 into master
Gcenx commented 2022-03-19 12:19:39 -05:00 (Migrated from github.com)

Fixes LTO linking on macOS this follows what's done with other libraries in ld_LDADD section

Closes #120

Fixes LTO linking on macOS this follows what's done with other libraries in ld_LDADD section Closes #120
tpoechtrager commented 2023-08-21 13:04:37 -05:00 (Migrated from github.com)

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.

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.
Gcenx commented 2023-08-21 13:10:45 -05:00 (Migrated from github.com)

I’ll look over this again, I can’t remember if the rpath was configured correctly or not.

I’ll look over this again, I can’t remember if the rpath was configured correctly or not.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin Gcenx/patch-1:Gcenx/patch-1
git switch Gcenx/patch-1

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.

git switch master
git merge --no-ff Gcenx/patch-1
git switch Gcenx/patch-1
git rebase master
git switch master
git merge --ff-only Gcenx/patch-1
git switch Gcenx/patch-1
git rebase master
git switch master
git merge --no-ff Gcenx/patch-1
git switch master
git merge --squash Gcenx/patch-1
git switch master
git merge --ff-only Gcenx/patch-1
git switch master
git merge Gcenx/patch-1
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miles/cctools-port!121
No description provided.