]> granicus.if.org Git - clang/commit
[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)
commitecca78db50e0b0f76d26e990491513df4ca56b48
tree64344d68551ff7ff500bd9743eefd48cc30744d0
parenta4cbc2e04b9a19e3734c87bc9e729dac24e78120
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267756 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt