The Autoconf build already does this, but it was never ported to CMake. The host linker version affects the flags that Clang pass to the linker, notably whether it passes -demangle or not.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks good as far as I can tell, thanks.
(Should there be some OS X-only test that checks if the frontend passes -demangle to the linker?)