Compile using Android NDK clang

pull/857/head
Tatsuhiro Tsujikawa 2017-01-23 00:58:16 +09:00
parent 36902526b6
commit 13b2c4a0f9
1 changed files with 2 additions and 0 deletions

View File

@ -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" \