changeset 49318:71bc133f25ea

8199152: Configure broken on arm32 Reviewed-by: ihse
author enevill
date Tue, 06 Mar 2018 23:03:50 +0000
parents 2d5cc05d877e
children 2854589fd853
files make/autoconf/flags.m4
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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