[Lldb-commits] [lldb] r244073 - Static Android build doesn't need shared libs.
Chaoren Lin
chaorenl at google.com
Wed Aug 5 10:42:47 PDT 2015
Author: chaoren
Date: Wed Aug 5 12:42:46 2015
New Revision: 244073
URL: http://llvm.org/viewvc/llvm-project?rev=244073&view=rev
Log:
Static Android build doesn't need shared libs.
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=244073&r1=244072&r2=244073&view=diff
==============================================================================
--- lldb/trunk/cmake/platforms/Android.cmake (original)
+++ lldb/trunk/cmake/platforms/Android.cmake Wed Aug 5 12:42:46 2015
@@ -44,7 +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 )
+ set( LLVM_BUILD_STATIC True CACHE BOOL "" FORCE )
+ set( LLVM_ENABLE_PIC FALSE CACHE BOOL "" FORCE )
+ set( BUILD_SHARED_LIBS FALSE CACHE BOOL "" FORCE )
endif()
set( ANDROID_ABI "${ANDROID_ABI}" CACHE INTERNAL "Android Abi" FORCE )
More information about the lldb-commits
mailing list