[libcxx-commits] [PATCH] D60743: Allow building without threads in standalone builds

Matthew Bauer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 16 08:45:20 PDT 2019


matthewbauer updated this revision to Diff 195392.
matthewbauer added a comment.
Herald added a subscriber: christof.

Added more context for CMakeLists.txt


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60743/new/

https://reviews.llvm.org/D60743

Files:
  libcxxabi/CMakeLists.txt


Index: libcxxabi/CMakeLists.txt
===================================================================
--- libcxxabi/CMakeLists.txt
+++ libcxxabi/CMakeLists.txt
@@ -362,6 +362,7 @@
                         " is also set to ON.")
   endif()
   add_definitions(-D_LIBCXXABI_HAS_NO_THREADS)
+  add_definitions(-D_LIBCPP_HAS_NO_THREADS)
 endif()
 
 if (LIBCXXABI_HAS_EXTERNAL_THREAD_API)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60743.195392.patch
Type: text/x-patch
Size: 381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190416/dd8b3c20/attachment-0001.bin>


More information about the libcxx-commits mailing list