8199052: Configure broken on aarch64
authorihse
Tue, 06 Mar 2018 00:56:03 +0100
changeset 49132 5d35b6050163
parent 49131 13ff1c3f0d4c
child 49133 a5b237cfccef
8199052: Configure broken on aarch64 Reviewed-by: erikj
make/autoconf/flags.m4
--- a/make/autoconf/flags.m4	Mon Mar 05 05:50:24 2018 -0800
+++ b/make/autoconf/flags.m4	Tue Mar 06 00:56:03 2018 +0100
@@ -236,7 +236,9 @@
   if test "x$TOOLCHAIN_TYPE" = xxlc; then
     MACHINE_FLAG="-q${OPENJDK_TARGET_CPU_BITS}"
   elif test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
-    MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"
+    if test "x$OPENJDK_TARGET_CPU" != xaarch64; then
+      MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"
+    fi
   fi
 
   # FIXME: global flags are not used yet...