configure.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
New commits: commit 1d3ca559966d522c3e5f98d137e02d295cb5751a Author: Tor Lillqvist <t...@iki.fi> Date: Tue Jul 31 10:46:03 2012 +0300 More NDK r8b fixes Change-Id: Ib91d60bc66860ad44541b28fbe89aa01d89cdee2 diff --git a/configure.in b/configure.in index 48009d0..170e2ee 100644 --- a/configure.in +++ b/configure.in @@ -142,10 +142,8 @@ if test -n "$with_android_ndk"; then # that is done, please use no newer NDK than r8. if test $host_cpu = arm; then - android_gcc_prefix=arm-linux-androideabi android_cpu=arm else - android_gcc_prefix=i686-android-linux # host_cpu is something like "i386" or "i686" I guess, NDK uses # "x86" in some contexts android_cpu=x86 @@ -167,6 +165,16 @@ if test -n "$with_android_ndk"; then ;; esac + if test $host_cpu = arm; then + android_gcc_prefix=arm-linux-androideabi + elif test -f $ANDROID_ABI_PREBUILT_BIN/i686-android-linux-gcc; then + android_gcc_prefix=i686-android-linux + elif test -f $ANDROID_ABI_PREBUILT_BIN/i686-linux-android-gcc; then + android_gcc_prefix=i686-linux-android + else + AC_MSG_ERROR([Can't figure out the toolchain prefix]) + fi + test -z "$SYSBASE" && export SYSBASE=$ANDROID_NDK_HOME/platforms/android-9/arch-$android_cpu test -z "$AR" && AR=$ANDROID_ABI_PREBUILT_BIN/$android_gcc_prefix-ar test -z "$NM" && NM=$ANDROID_ABI_PREBUILT_BIN/$android_gcc_prefix-nm _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits