Commit 48d754c5 authored by Edward Wang's avatar Edward Wang

compile.sh: Allow compiliation on NDK r8b for x86

parent 11c2b7c7
......@@ -63,6 +63,19 @@ else
HAVE_ARM=1
PLATFORM_SHORT_ARCH="arm"
fi
if [ ${ANDROID_ABI} = "x86" ] ; then
# x86 toolchain location changes in NDK r8b
case "$REL" in
8?)
TARGET_TUPLE="i686-linux-android"
;;
*)
TARGET_TUPLE="i686-android-linux"
;;
esac
fi
export TARGET_TUPLE
export PATH_HOST
export HAVE_ARM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment