--- a/make/autoconf/hotspot.m4 Sun Jun 02 10:08:38 2019 +0200
+++ b/make/autoconf/hotspot.m4 Sun Jun 02 10:08:39 2019 +0200
@@ -341,7 +341,7 @@
# Only enable Shenandoah on supported arches
AC_MSG_CHECKING([if shenandoah can be built])
- if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
+ if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
AC_MSG_RESULT([yes])
else
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES shenandoahgc"