Ver Fonte

Compile using Android NDK clang

Tatsuhiro Tsujikawa há 8 anos atrás
pai
commit
13b2c4a0f9
1 ficheiros alterados com 2 adições e 0 exclusões
  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" \