[CMake] On Darwin bootstrap LTO builds set DYLD_LIBRARY_PATH instead of using llvm-ar
authorChris Bieneman <beanz@apple.com>
Wed, 27 Apr 2016 18:52:48 +0000 (18:52 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 27 Apr 2016 18:52:48 +0000 (18:52 +0000)
commit31046054a8eb0cc74a0fcbefaea77da2c061befa
tree251a27e2e9b6b945466f60d3c2410eb8841a7c0e
parent5593ce5633e8abfe54fdabd455c385f979d6faaa
[CMake] On Darwin bootstrap LTO builds set DYLD_LIBRARY_PATH instead of using llvm-ar

llvm-ar isn't really supported for Darwin, instead the host tools will load libLTO, so we can use the just-built libLTO.

This actually makes Darwin bootstrap builds a little faster because you don't need to build llvm-ar before starting the next stage.

llvm-svn: 267756
clang/CMakeLists.txt