[Lldb-commits] [PATCH] D11825: Add -latomic to Android mips build to avoid http://b.android.com/182094.

Chaoren Lin via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 6 16:53:57 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL244298: Add -latomic to Android mips build to avoid http://b.android.com/182094. (authored by chaoren).

Changed prior to commit:
  http://reviews.llvm.org/D11825?vs=31493&id=31494#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11825

Files:
  lldb/trunk/cmake/platforms/Android.cmake

Index: lldb/trunk/cmake/platforms/Android.cmake
===================================================================
--- lldb/trunk/cmake/platforms/Android.cmake
+++ lldb/trunk/cmake/platforms/Android.cmake
@@ -107,6 +107,9 @@
   # Temporary workaround for static linking with the latest API.
   set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -DANDROID_ARM_BUILD_STATIC" )
  endif()
+elseif( ANDROID_ABI STREQUAL "mips" )
+ # http://b.android.com/182094
+ set( ANDROID_LINKER_FLAGS "${ANDROID_LINKER_FLAGS} -latomic" )
 endif()
 
 if( NOT LLVM_BUILD_STATIC )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11825.31494.patch
Type: text/x-patch
Size: 556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150806/4b9fc03a/attachment.bin>


More information about the lldb-commits mailing list