[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:27:17 PDT 2015


chaoren created this revision.
chaoren added a reviewer: ovyalov.
chaoren added a subscriber: lldb-commits.
Herald added subscribers: srhines, danalbert, tberghammer.

http://reviews.llvm.org/D11825

Files:
  cmake/platforms/Android.cmake

Index: cmake/platforms/Android.cmake
===================================================================
--- cmake/platforms/Android.cmake
+++ 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.31493.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150806/301b978a/attachment.bin>


More information about the lldb-commits mailing list