Explorar el Código

Compile using Android NDK clang

Tatsuhiro Tsujikawa hace 8 años
padre
commit
13b2c4a0f9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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" \