CMake: Set HOST_LINK_VERSION on Darwin (PR21268)
authorHans Wennborg <hans@hanshq.net>
Thu, 13 Nov 2014 00:35:23 +0000 (00:35 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 13 Nov 2014 00:35:23 +0000 (00:35 +0000)
commitc4f5b046ad981990b84c96801414a764d02214b9
tree5c5dd43dea531f7898b3c4d7a34e02ebc18a9aef
parentef7c578d3c76aabe5b196f35fda7ec8b799e0a2d
CMake: Set HOST_LINK_VERSION on Darwin (PR21268)

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.

http://reviews.llvm.org/D6239

llvm-svn: 221844
clang/CMakeLists.txt
clang/include/clang/Config/config.h.cmake
clang/include/clang/Config/config.h.in
clang/test/Driver/darwin-ld-demangle.c [new file with mode: 0644]