]> granicus.if.org Git - clang/commit
[CMake] Use lld and llvm-objcopy for first stage compiler in Fuchsia
authorPetr Hosek <phosek@chromium.org>
Fri, 16 Nov 2018 23:07:03 +0000 (23:07 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 16 Nov 2018 23:07:03 +0000 (23:07 +0000)
commit89be47f2d66a41a70a3192327af6ed6e70bffd69
treeda41188929b0d613382981d6bbe7d7e7c5f6d830
parentd0e625611a370ed08b1179e46a45da34a651d0af
[CMake] Use lld and llvm-objcopy for first stage compiler in Fuchsia

When cross-compiling the second stage to a different target, we need to
make sure that the first-stage compiler can produce binaries for that
target. Using lld and llvm-objcopy as the default linker and objcopy
tool eliminates some of the dependencies on the host toolchain.

Differential Revision: https://reviews.llvm.org/D54655

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347108 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/caches/Fuchsia.cmake