Commit 94dd7d70 authored by Edward Wang's avatar Edward Wang

MIPS: tune for mips32r2

Although there are no non-MIPS32 R2 devices supported by Android 2.x+ on MIPS as of right now, MIPS32 is the minimum as of 4.2[1]. However, it should be safe to tune for

parent 9e5ed810
......@@ -136,7 +136,7 @@ elif [ ${ANDROID_ABI} = "armeabi" ] ; then
elif [ ${ANDROID_ABI} = "x86" ] ; then
EXTRA_CFLAGS="-march=pentium -ffunction-sections -funwind-tables -frtti -fno-exceptions"
elif [ ${ANDROID_ABI} = "mips" ] ; then
EXTRA_CFLAGS="-march=mips32 -mhard-float"
EXTRA_CFLAGS="-march=mips32 -mtune=mips32r2 -mhard-float"
# All MIPS Linux kernels since 2.4.4 will trap any unimplemented FPU
# instruction and emulate it, so we select -mhard-float.
# See
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