[PATCH] D22370: Respect LLVM_HOST_TRIPLE when manually specified

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 06:06:46 PDT 2016


beanz added a comment.

`LLVM_HOST_TRIPLE` is not intended to match the target, and it shouldn't be used in situations where it must match the target. I'm not familiar with how lldb builds the remote server in CMake, but using `LLVM_HOST_TRIPLE` is not the right answer.

In general when cross-compiling with CMake you'll want to specify all the target flags in a CMake toolchain file, and have the CMake configuration do the right thing.


Repository:
  rL LLVM

https://reviews.llvm.org/D22370





More information about the llvm-commits mailing list