[PATCH] D39734: [cmake] Pass LLVM_USE_LINKER flag to CrossCompile toolchain if set
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 13:50:21 PST 2017
beanz added a comment.
The code path you're modifying isn't just for building optimized tools, it also gets triggered when building the host tools in cross compilations. It is totally reasonable that I might want to use a different linker for host binaries from the linker used for target binaries. One example would be if I'm cross compiling to say PPC and wanting to use gold, but want to use lld as the linker for the host tools.
https://reviews.llvm.org/D39734
More information about the llvm-commits
mailing list