[PATCH] D20574: [libcxxabi] Allow explicit pthread opt-in

Asiri Rathnayake via cfe-commits cfe-commits at lists.llvm.org
Tue May 24 11:28:46 PDT 2016


rmaprath added inline comments.

================
Comment at: CMakeLists.txt:278
@@ -277,1 +277,3 @@
 
+if (LIBCXXABI_HAS_PTHREAD_API)
+  add_definitions(-D_LIBCPP_HAS_THREAD_API_PTHREAD)
----------------
Shouldn't there be an `option()` line for this new build option? Also a check for compatibility with the `LIBCXXABI_ENABLE_THREADS` option?


http://reviews.llvm.org/D20574





More information about the cfe-commits mailing list