File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -715,11 +715,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
715
715
if test "x$FLAGS_CPU" = xppc64; then
716
716
# -mminimal-toc fixes `relocation truncated to fit' error for gcc 4.1.
717
717
# Use ppc64 instructions, but schedule for power5
718
- $1 _CFLAGS_CPU_JVM="${$1 _CFLAGS_CPU_JVM} -mminimal-toc -mcpu=powerpc64 -mtune=power5"
718
+ $1 _CFLAGS_CPU="-mcpu=powerpc64 -mtune=power5"
719
+ $1 _CFLAGS_CPU_JVM="${$1 _CFLAGS_CPU_JVM} -mminimal-toc"
719
720
elif test "x$FLAGS_CPU" = xppc64le; then
720
721
# Little endian machine uses ELFv2 ABI.
721
722
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
722
- $1 _CFLAGS_CPU_JVM="${$1 _CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power10"
723
+ $1 _CFLAGS_CPU="-mcpu=power8 -mtune=power10"
724
+ $1 _CFLAGS_CPU_JVM="${$1 _CFLAGS_CPU_JVM} -DABI_ELFv2"
723
725
fi
724
726
elif test "x$FLAGS_CPU" = xs390x; then
725
727
$1 _CFLAGS_CPU="-mbackchain -march=z10"
You can’t perform that action at this time.
0 commit comments