[PATCH] D31639: [CMake][libcxxabi] Use -nodefaultlibs for CMake checks

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 18:59:02 PDT 2017


phosek created this revision.
Herald added a subscriber: mgorny.

Since libc++abi is built with -nodefaultlibs, we should be using this option even for CMake checks to avoid any inconsistency and also to avoid dependency on a working C++ standard library just for the setting up the build itself. The implementation is largely similar to the one used by libc++.


Repository:
  rL LLVM

https://reviews.llvm.org/D31639

Files:
  CMakeLists.txt
  cmake/Modules/HandleCompilerRT.cmake
  cmake/config-ix.cmake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31639.93986.patch
Type: text/x-patch
Size: 6304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170404/797562f3/attachment.bin>


More information about the llvm-commits mailing list