[PATCH] D39734: [cmake] Pass LLVM_USE_LINKER flag to CrossCompile toolchain if set

Don Hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 07:41:09 PST 2017


hintonda added a comment.

In https://reviews.llvm.org/D39734#925253, @beanz wrote:

> I don't think we can do this unconditionally like this. It seems to me like you could have a situation where you want to use different linkers for the host tools and target binaries.


I can make it conditional, e.g., iff LLVM_OPTIMIZED_TABLEGEN=ON, but honestly can't think of a case where you would want to use different linkers.


https://reviews.llvm.org/D39734





More information about the llvm-commits mailing list