[CMake] Fixing LTO library path passed into bootstrap builds.

This just fixes a small error in constructing the path to the LTO library.

llvm-svn: 249858
This commit is contained in:
Chris Bieneman 2015-10-09 17:45:44 +00:00
parent f0344bb02b
commit 8c2abff17e
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ if (CLANG_ENABLE_BOOTSTRAP)
# DARWIN_LTO_LIBRARY so that -flto will work using the just-built compiler
if(APPLE)
set(LTO_DEP LTO llvm-ar llvm-ranlib)
set(LTO_LIBRARY -DDARWIN_LTO_LIBRARY=${LLVM_RUNTIME_OUTPUT_INTDIR}/libLTO.dylib)
set(LTO_LIBRARY -DDARWIN_LTO_LIBRARY=${LLVM_SHLIB_OUTPUT_INTDIR}/libLTO.dylib)
set(LTO_AR -DCMAKE_AR=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-ar)
set(LTO_RANLIB -DCMAKE_RANLIB=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-ranlib)
endif()