8199152: Configure broken on arm32
authorenevill
Tue, 06 Mar 2018 23:03:50 +0000
changeset 49144 71bc133f25ea
parent 49143 2d5cc05d877e
child 49145 2854589fd853
8199152: Configure broken on arm32 Reviewed-by: ihse
make/autoconf/flags.m4
--- a/make/autoconf/flags.m4	Wed Mar 07 07:20:38 2018 +0000
+++ b/make/autoconf/flags.m4	Tue Mar 06 23:03:50 2018 +0000
@@ -236,7 +236,8 @@
   if test "x$TOOLCHAIN_TYPE" = xxlc; then
     MACHINE_FLAG="-q${OPENJDK_TARGET_CPU_BITS}"
   elif test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
-    if test "x$OPENJDK_TARGET_CPU" != xaarch64; then
+    if test "x$OPENJDK_TARGET_CPU" != xaarch64 &&
+        test "x$OPENJDK_TARGET_CPU" != xarm; then
       MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"
     fi
   fi