[Lldb-commits] [lldb] r244298 - 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:07 PDT 2015
Author: chaoren
Date: Thu Aug 6 18:53:07 2015
New Revision: 244298
URL: http://llvm.org/viewvc/llvm-project?rev=244298&view=rev
Log:
Add -latomic to Android mips build to avoid http://b.android.com/182094.
Reviewers: ovyalov
Subscribers: tberghammer, danalbert, srhines, lldb-commits
Differential Revision: http://reviews.llvm.org/D11825
Modified:
lldb/trunk/cmake/platforms/Android.cmake
Modified: lldb/trunk/cmake/platforms/Android.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/platforms/Android.cmake?rev=244298&r1=244297&r2=244298&view=diff
==============================================================================
--- lldb/trunk/cmake/platforms/Android.cmake (original)
+++ lldb/trunk/cmake/platforms/Android.cmake Thu Aug 6 18:53:07 2015
@@ -107,6 +107,9 @@ elseif( ANDROID_ABI STREQUAL "armeabi" )
# 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 )
More information about the lldb-commits
mailing list