[cfe-dev] libcxxabi cmake test problem on Linux x86-64

İsmail Dönmez ismail at donmez.ws
Fri Jul 11 10:29:23 PDT 2014


Unless I apply the patch below exception tests fail on Linux x86-64.

--- libcxxabi.orig/src/CMakeLists.txt
+++ libcxxabi/src/CMakeLists.txt
@@ -48,7 +48,7 @@ include_directories("${LIBCXXABI_LIBCXX_
 append_if(libraries LIBCXXABI_HAS_C_LIB c)

-target_link_libraries(cxxabi ${libraries})
+target_link_libraries(cxxabi ${libraries} gcc_s pthread)

 # Setup flags.
 append_if(compile_flags LIBCXXABI_HAS_FPIC_FLAG -fPIC)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140711/9f73c3fb/attachment.html>

More information about the cfe-dev mailing list