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

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 15 05:45:24 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGda104444fafb: [libc++] Allow building without threads in standalone builds (authored by ldionne).
Herald added a project: libc++abi.
Herald added a reviewer: libc++abi.

Repository:
  rG LLVM Github Monorepo

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
@@ -352,6 +352,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.291877.patch
Type: text/x-patch
Size: 381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200915/59c3ee2d/attachment.bin>


More information about the libcxx-commits mailing list