Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -ld_classic linker flag so build succeeds on Xcode 15 #211

Merged
merged 1 commit into from
May 28, 2024

Conversation

lukehorvat
Copy link
Contributor

@lukehorvat lukehorvat commented May 28, 2024

Fixes #210.

The latest macos image uses Xcode 15, which introduces a new linker: https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking

I added the -ld_classic linker flag recommended there to revert back to the old linker and it seems to fix things. We'll need to drop this flag at some point though, since it sounds like it will be removed in a future Xcode release.

@pjbroad @bendoughty

@pjbroad pjbroad merged commit f1cba4f into raduprv:master May 28, 2024
5 checks passed
@pjbroad
Copy link
Collaborator

pjbroad commented May 28, 2024

Thanks for the fix @lukehorvat .

@lukehorvat lukehorvat deleted the fix-xcode15-build branch May 28, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Macos build action fails with macos-latest (now 14)
2 participants