Commit ea2758a6 authored by Felix Abecassis's avatar Felix Abecassis

Workaround for broken NDK r10 on x86

See https://code.google.com/p/android/issues/detail?id=73843
gcc was generating the popcnt instruction, resulting in a SIGILL on
older devices.
parent 4404ccef
......@@ -149,7 +149,7 @@ elif [ ${ANDROID_ABI} = "armeabi" ] ; then
fi
fi
elif [ ${ANDROID_ABI} = "x86" ] ; then
EXTRA_CFLAGS="-march=pentium"
EXTRA_CFLAGS="-march=pentium -m32"
elif [ ${ANDROID_ABI} = "mips" ] ; then
EXTRA_CFLAGS="-march=mips32 -mtune=mips32r2 -mhard-float"
# All MIPS Linux kernels since 2.4.4 will trap any unimplemented FPU
......
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