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 )
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 )
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits