8200213: Configure broken on MIPS
Reviewed-by: erikj, stuefe, dholmes, ihse
Contributed-by: Ao Qi <aoqi@loongson.cn>
--- a/make/autoconf/flags.m4 Sat Mar 24 08:49:55 2018 +0000
+++ b/make/autoconf/flags.m4 Mon Mar 26 00:33:01 2018 -0400
@@ -237,7 +237,11 @@
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