Skip to content

BinUtils: Avoid llvm-ar on Apple platforms

Brad King requested to merge brad.king/cmake:binutils-llvm-ar-clang-macos into master

Since !6164 (merged) we correctly prefer the more-specific name llvm-ar over ar when using Clang. However, on Apple platforms, llvm-ar does not generate a symbol table that the Apple linker accepts. Fall back to ar on Apple platforms.

Fixes: #23269 (closed)
Backport: release

Merge request reports