blob: 20d62ecf09194e1cd89c2020588e6e5365b14e23 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
export TOOLCHAIN=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64
export TARGET=armv7a-linux-androideabi
export API=16
export CC=$TOOLCHAIN/bin/$TARGET$API-clang
export TARGET=arm-linux-androideabi
export PREFIX=$TOOLCHAIN/sysroot/usr
export CPPFLAGS="$CPPFLAGS -DDEBUG"
export CFLAGS="$CFLAGS -g"
./configure --host=$TARGET --prefix=$PREFIX --libdir=$PREFIX/lib/$TARGET/$API --disable-static
|