changeset 49306:5d35b6050163

8199052: Configure broken on aarch64 Reviewed-by: erikj
author ihse
date Tue, 06 Mar 2018 00:56:03 +0100
parents 13ff1c3f0d4c
children a5b237cfccef
files make/autoconf/flags.m4
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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...