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:
Tamas Berghammer 2015-11-20 10:51:39 +00:00
parent ad6c04de0e
commit a8dd275609
1 changed files with 1 additions and 1 deletions

View File

@ -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" )