Skip to content

Commit 9765b13

Browse files
committed
Backport 96f722c
1 parent bd1adc8 commit 9765b13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make/autoconf/hotspot.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
355355
# Only enable Shenandoah on supported arches, and only if requested
356356
AC_MSG_CHECKING([if shenandoah can be built])
357357
if HOTSPOT_CHECK_JVM_FEATURE(shenandoahgc); then
358-
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86" || test "x$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU" = "xlinux-aarch64" ; then
358+
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86" || \
359+
test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then
359360
AC_MSG_RESULT([yes])
360361
else
361362
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES shenandoahgc"

0 commit comments

Comments
 (0)