From 13b2c4a0f93bc8345e80fcc7030f90e0530d6734 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 23 Jan 2017 00:58:16 +0900 Subject: [PATCH] Compile using Android NDK clang --- android-config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android-config b/android-config index 94de74d2..0f065335 100755 --- a/android-config +++ b/android-config @@ -51,6 +51,8 @@ PATH=$TOOLCHAIN/bin:$PATH --with-libcares \ --with-libz \ --with-libssh2 \ + CC="$TOOLCHAIN"/bin/arm-linux-androideabi-clang \ + CXX="$TOOLCHAIN"/bin/arm-linux-androideabi-clang++ \ CXXFLAGS="-Os -g" \ CFLAGS="-Os -g" \ CPPFLAGS="-fPIE" \