hintonda added a comment.

In https://reviews.llvm.org/D41622#965280, @phosek wrote:

> Would it be possible to split the `CMAKE_REQUIRED_FLAGS` fix into a separate 
> change since it's unrelated to the `CMAKE_FIND_ROOT_PATH` bit?


Sure, but both are needed to actually work.  This fixes cross compiling across 
systems, e.g., from Darwin to Linux.  Without both, configuration will fail.

Please note, cross system compiling also requires a pending patch to cmake:  
https://gitlab.kitware.com/cmake/cmake/merge_requests/1620


Repository:
  rCXX libc++

https://reviews.llvm.org/D41622



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to