summaryrefslogtreecommitdiffstats
path: root/lldb/cmake/platforms/Android.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/cmake/platforms/Android.cmake')
-rw-r--r--lldb/cmake/platforms/Android.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/cmake/platforms/Android.cmake b/lldb/cmake/platforms/Android.cmake
index 04c73af9fea..b977b1ed364 100644
--- a/lldb/cmake/platforms/Android.cmake
+++ b/lldb/cmake/platforms/Android.cmake
@@ -33,8 +33,7 @@ set( CMAKE_SYSTEM_NAME Linux )
include( CMakeForceCompiler )
# flags and definitions
-remove_definitions( -DANDROID -D__ANDROID__ )
-add_definitions( -DANDROID -D__ANDROID_NDK__ -DLLDB_DISABLE_LIBEDIT )
+add_definitions( -DANDROID -DLLDB_DISABLE_LIBEDIT )
set( ANDROID True )
set( __ANDROID_NDK__ True )
set( LLDB_DEFAULT_DISABLE_LIBEDIT True )
OpenPOWER on IntegriCloud