[PATCH] D38665: [CMake] Fix linker detection in AddLLVM.cmake

Zhihao Yuan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 16:02:56 PDT 2017


lichray added a comment.

In https://reviews.llvm.org/D38665#905826, @ruiu wrote:

> I believe it only recognizes -fuse-ld=bfd and -fuse-ld=gold. You cannot pass any other linker name.


I think that's enough.  If you worry about lld, there is another option `LLVM_USE_LLD=ON`.


Repository:
  rL LLVM

https://reviews.llvm.org/D38665





More information about the llvm-commits mailing list