changeset 49548:5bfe30bb50a2

8200213: Configure broken on MIPS Reviewed-by: erikj, stuefe, dholmes, ihse Contributed-by: Ao Qi <aoqi@loongson.cn>
author dholmes
date Mon, 26 Mar 2018 00:33:01 -0400
parents 1d3139252c1c
children b39bc2eb8325
files make/autoconf/flags.m4
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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