Skip to content

macho: handle -arch_multiple flag #166

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

Merged
merged 2 commits into from
Dec 25, 2024
Merged

macho: handle -arch_multiple flag #166

merged 2 commits into from
Dec 25, 2024

Conversation

kubkon
Copy link
Owner

@kubkon kubkon commented Dec 25, 2024

When clang is invoked with two -arch flags, it will pass -arch_multiple and -final_output to the linker. According to LLD implementation, -arch_multiple is only used to signal to the linker that it should suffix undefined symbols errors/warnings with current architecture.

@kubkon kubkon force-pushed the macho-arch-multiple2 branch from 8ad20bb to e250a11 Compare December 25, 2024 08:43
@kubkon kubkon merged commit c58bf52 into main Dec 25, 2024
12 checks passed
@kubkon kubkon deleted the macho-arch-multiple2 branch December 25, 2024 10:06
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.

1 participant