8200213: Configure broken on MIPS

Reviewed-by: erikj, stuefe, dholmes, ihse
This commit is contained in:
Ao Qi 2018-03-26 00:33:01 -04:00 committed by David Holmes
parent 187bf57418
commit fe57cd2f3d

View File

@ -237,7 +237,11 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
MACHINE_FLAG="-q${OPENJDK_TARGET_CPU_BITS}"
elif test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
if test "x$OPENJDK_TARGET_CPU" != xaarch64 &&
test "x$OPENJDK_TARGET_CPU" != xarm; then
test "x$OPENJDK_TARGET_CPU" != xarm &&
test "x$OPENJDK_TARGET_CPU" != xmips &&
test "x$OPENJDK_TARGET_CPU" != xmipsel &&
test "x$OPENJDK_TARGET_CPU" != xmips64 &&
test "x$OPENJDK_TARGET_CPU" != xmips64el; then
MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"
fi
fi