]> granicus.if.org Git - clang/commit
[CMake] [Darwin] Add support for building bootstrap builds with -flto
authorChris Bieneman <beanz@apple.com>
Fri, 11 Sep 2015 20:42:57 +0000 (20:42 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 11 Sep 2015 20:42:57 +0000 (20:42 +0000)
commit314d1b9b63b5eb093278a35101c314b5329fc5bb
tree6af10db5ff0a247de52c9401f5a6d547f602edcb
parenta1a0ff0dc322d5d7e1704ede5bd3ce4864d037d4
[CMake] [Darwin] Add support for building bootstrap builds with -flto

When building with LTO the bootstrap builds need to depend on libLTO, llvm-ar, and llvm-ranlib, which all need to be passed into the bootstrap build. This functionality only works on Darwin.

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