forked from OSchip/llvm-project
Use thumb instruction set for ldb-server on android arm
Differential revision: http://reviews.llvm.org/D14816 llvm-svn: 253657
This commit is contained in:
parent
ad6c04de0e
commit
a8dd275609
|
@ -103,7 +103,7 @@ if( X86 )
|
|||
elseif( ANDROID_ABI STREQUAL "armeabi" )
|
||||
# 64 bit atomic operations used in c++ libraries require armv7-a instructions
|
||||
# armv5te and armv6 were tried but do not work.
|
||||
set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -march=armv7-a" )
|
||||
set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -march=armv7-a -mthumb" )
|
||||
if( LLVM_BUILD_STATIC )
|
||||
# Temporary workaround for static linking with the latest API.
|
||||
set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -DANDROID_ARM_BUILD_STATIC" )
|
||||
|
|
Loading…
Reference in New Issue