Hide cmake variables related to static linking Android lldb-server.

llvm-svn: 244344
This commit is contained in:
Chaoren Lin 2015-08-07 18:54:04 +00:00
parent d47fb197f6
commit 60852bcb06
1 changed files with 3 additions and 3 deletions

View File

@ -44,9 +44,9 @@ set( __ANDROID_NDK__ True )
# its symbols, which significantly increases the binary size. Static linking, on
# the other hand, has little to no effect on the binary size.
if( NOT DEFINED LLVM_BUILD_STATIC )
set( LLVM_BUILD_STATIC True CACHE BOOL "" FORCE )
set( LLVM_ENABLE_PIC FALSE CACHE BOOL "" FORCE )
set( BUILD_SHARED_LIBS FALSE CACHE BOOL "" FORCE )
set( LLVM_BUILD_STATIC True CACHE INTERNAL "" FORCE )
set( LLVM_ENABLE_PIC FALSE CACHE INTERNAL "" FORCE )
set( BUILD_SHARED_LIBS FALSE CACHE INTERNAL "" FORCE )
endif()
set( ANDROID_ABI "${ANDROID_ABI}" CACHE INTERNAL "Android Abi" FORCE )