[PATCH] D21201: [libcxxabi] Don't check gcc_s when building with libunwind
Eugene Zelenko via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 9 14:38:56 PDT 2016
Eugene.Zelenko created this revision.
Eugene.Zelenko added reviewers: EricWF, mclow.lists, compnerd.
Eugene.Zelenko added a subscriber: llvm-commits.
Eugene.Zelenko set the repository for this revision to rL LLVM.
Repository:
rL LLVM
http://reviews.llvm.org/D21201
Files:
cmake/config-ix.cmake
Index: cmake/config-ix.cmake
===================================================================
--- cmake/config-ix.cmake
+++ cmake/config-ix.cmake
@@ -42,6 +42,8 @@
check_library_exists(c fopen "" LIBCXXABI_HAS_C_LIB)
check_library_exists(dl dladdr "" LIBCXXABI_HAS_DL_LIB)
check_library_exists(pthread pthread_once "" LIBCXXABI_HAS_PTHREAD_LIB)
-check_library_exists(gcc_s __gcc_personality_v0 "" LIBCXXABI_HAS_GCC_S_LIB)
+if (NOT LIBCXXABI_USE_LLVM_UNWINDER)
+ check_library_exists(gcc_s __gcc_personality_v0 "" LIBCXXABI_HAS_GCC_S_LIB)
+endif()
check_library_exists(c __cxa_thread_atexit_impl ""
LIBCXXABI_HAS_CXA_THREAD_ATEXIT_IMPL)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21201.60240.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160609/1e786ccb/attachment.bin>
More information about the llvm-commits
mailing list