소스 검색

Compile using Android NDK clang

Tatsuhiro Tsujikawa 8 년 전
부모
커밋
13b2c4a0f9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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" \