[PATCH] D41622: [cmake] [libcxx] Fix path and flag problems when cross compiling.

Don Hinton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 11:59:13 PST 2018


hintonda updated this revision to Diff 130820.
hintonda added a comment.

- Save CMAKE_REQUIRED_FLAGS for another patch.


Repository:
  rCXX libc++

https://reviews.llvm.org/D41622

Files:
  CMakeLists.txt


Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -123,6 +123,7 @@
           ${LLVM_MAIN_SRC_DIR}/runtimes/libcxxabi/include
           ${LLVM_MAIN_SRC_DIR}/../libcxxabi/include
     NO_DEFAULT_PATH
+    NO_CMAKE_FIND_ROOT_PATH
   )
   if (LIBCXX_TARGETING_MSVC)
     # FIXME: Figure out how to configure the ABI library on Windows.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41622.130820.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180121/89c30f11/attachment.bin>


More information about the cfe-commits mailing list