make/autoconf/hotspot.m4
changeset 53021 cc4098b3bc10
parent 52925 9c18c9d839d3
child 53434 ddfa4bfabdec
--- a/make/autoconf/hotspot.m4	Thu Dec 13 16:45:24 2018 +0100
+++ b/make/autoconf/hotspot.m4	Thu Dec 13 16:45:26 2018 +0100
@@ -327,7 +327,7 @@
 
   # Only enable Shenandoah on supported arches
   AC_MSG_CHECKING([if shenandoah can be built])
-  if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
+  if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
     AC_MSG_RESULT([yes])
   else
     DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES shenandoahgc"