Skip to content

Commit 4c1ff05

Browse files
committedAug 6, 2015
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 llvm-svn: 244298
1 parent d93178d commit 4c1ff05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎lldb/cmake/platforms/Android.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ elseif( ANDROID_ABI STREQUAL "armeabi" )
107107
# Temporary workaround for static linking with the latest API.
108108
set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -DANDROID_ARM_BUILD_STATIC" )
109109
endif()
110+
elseif( ANDROID_ABI STREQUAL "mips" )
111+
# http://b.android.com/182094
112+
set( ANDROID_LINKER_FLAGS "${ANDROID_LINKER_FLAGS} -latomic" )
110113
endif()
111114

112115
if( NOT LLVM_BUILD_STATIC )

0 commit comments

Comments
 (0)
Please sign in to comment.