Skip to content

Commit 3b9470a

Browse files
author
duke
committed
Backport e1d0a9c832ef3e92faaed7f290ff56c0ed8a9d94
1 parent 1603de1 commit 3b9470a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make/autoconf/flags-cflags.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
743743
elif test "x$FLAGS_CPU" = xppc64le; then
744744
# Little endian machine uses ELFv2 ABI.
745745
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
746-
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"
746+
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power10"
747747
fi
748748
elif test "x$FLAGS_CPU" = xs390x; then
749749
$1_CFLAGS_CPU="-mbackchain -march=z10"
@@ -764,7 +764,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
764764
if test "x$FLAGS_CPU" = xppc64le; then
765765
# Little endian machine uses ELFv2 ABI.
766766
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
767-
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"
767+
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power10"
768768
fi
769769
fi
770770
if test "x$OPENJDK_TARGET_OS" = xaix; then

0 commit comments

Comments
 (0)