diff options
author | Anthony Blake <anthonix@me.com> | 2012-11-07 11:53:02 +1300 |
---|---|---|
committer | Anthony Blake <anthonix@me.com> | 2012-11-07 11:53:02 +1300 |
commit | 4e0f752019b4bbf59adda74b154054377407a2ab (patch) | |
tree | 50b36fae9a2dd5864621cd0540144e5595cbc9e5 /build_android.sh | |
parent | ba61aa54bb80bc3bcd991087e0ecf1daa5f498f0 (diff) | |
download | ffts-4e0f752019b4bbf59adda74b154054377407a2ab.zip ffts-4e0f752019b4bbf59adda74b154054377407a2ab.tar.gz |
build changes
Diffstat (limited to 'build_android.sh')
-rwxr-xr-x | build_android.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build_android.sh b/build_android.sh index fba6b86..8576f75 100755 --- a/build_android.sh +++ b/build_android.sh @@ -7,7 +7,7 @@ INSTALL_DIR="`pwd`/jni/ffts" case $(uname -s) in Darwin) - CONFBUILD=i386-apple-darwin10.8.0 + CONFBUILD=i386-apple-darwin`uname -r` HOSTPLAT=darwin-x86 ;; Linux) @@ -17,7 +17,7 @@ case $(uname -s) in *) echo $0: Unknown platform; exit esac -case x86 in +case arm in arm) TARGPLAT=arm-linux-androideabi ARCH=arm @@ -40,7 +40,7 @@ esac : ${NDK_ROOT:?} export PATH="$NDK_ROOT/toolchains/${TARGPLAT}-4.6/prebuilt/${HOSTPLAT}/bin/:$PATH" -export SYS_ROOT="$NDK_ROOT/platforms/android-9/arch-${ARCH}/" +export SYS_ROOT="$NDK_ROOT/platforms/android-8/arch-${ARCH}/" export CC="${TARGPLAT}-gcc --sysroot=$SYS_ROOT" export LD="${TARGPLAT}-ld" export AR="${TARGPLAT}-ar" |