[Lldb-commits] [PATCH] D20464: [LLDB][MIPS] Check if libatomic needs to be specified explicitly.

Nitesh Jain via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 27 01:29:08 PDT 2016


nitesh.jain updated this revision to Diff 61940.
nitesh.jain added a comment.

Thanks Labath.
Updated diff as per suggestion.


Repository:
  rL LLVM

http://reviews.llvm.org/D20464

Files:
  cmake/LLDBDependencies.cmake

Index: cmake/LLDBDependencies.cmake
===================================================================
--- cmake/LLDBDependencies.cmake
+++ cmake/LLDBDependencies.cmake
@@ -157,6 +157,11 @@
     endif()
   endif()
 endif()
+
+if (NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB )
+    list(APPEND LLDB_SYSTEM_LIBS atomic)
+endif()
+
 # On FreeBSD/NetBSD backtrace() is provided by libexecinfo, not libc.
 if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD")
   list(APPEND LLDB_SYSTEM_LIBS execinfo)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20464.61940.patch
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160627/954ee0dc/attachment.bin>


More information about the lldb-commits mailing list