Skip to content

Commit 011de4c

Browse files
author
Fei Gao
committed
8363063: AArch64: [VectorAPI] sve vector math operations are not supported after JDK-8353217
Reviewed-by: shade, aph
1 parent 3e2d12d commit 011de4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/autoconf/flags-cflags.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
940940
# ACLE and this flag are required to build the aarch64 SVE related functions in
941941
# libvectormath. Apple Silicon does not support SVE; use macOS as a proxy for
942942
# that check.
943-
if test "x$OPENJDK_TARGET_CPU" = "xaarch64" && test "x$OPENJDK_TARGET_CPU" = "xlinux"; then
943+
if test "x$OPENJDK_TARGET_CPU" = "xaarch64" && test "x$OPENJDK_TARGET_OS" = "xlinux"; then
944944
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
945945
AC_LANG_PUSH(C)
946946
OLD_CFLAGS="$CFLAGS"

0 commit comments

Comments
 (0)