8200213: Configure broken on MIPS
authordholmes
Mon, 26 Mar 2018 00:33:01 -0400
changeset 49418 5bfe30bb50a2
parent 49417 1d3139252c1c
child 49419 b39bc2eb8325
child 56348 f3b0961adb3c
8200213: Configure broken on MIPS Reviewed-by: erikj, stuefe, dholmes, ihse Contributed-by: Ao Qi <aoqi@loongson.cn>
make/autoconf/flags.m4
--- 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