Browse Source

Compile using Android NDK clang

Tatsuhiro Tsujikawa 8 years ago
parent
commit
13b2c4a0f9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      android-config

+ 2 - 0
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" \