View | Details | Raw Unified | Return to bug 243183 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+4 lines)
Lines 134-139 Link Here
134
CONFIGURE_ARGS+=	--disable-warnings-as-errors \
134
CONFIGURE_ARGS+=	--disable-warnings-as-errors \
135
			--disable-dtrace
135
			--disable-dtrace
136
.endif
136
.endif
137
.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
138
CONFIGURE_ARGS+=	--disable-precompiled-headers
139
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-make_autoconf_flags-cflags.m4
140
.endif
137
.if ${ARCH} != amd64
141
.if ${ARCH} != amd64
138
CONFIGURE_ARGS+=	--enable-aot=no
142
CONFIGURE_ARGS+=	--enable-aot=no
139
.endif
143
.endif
(-)files/extra-patch-make_autoconf_flags-cflags.m4 (+11 lines)
Line 0 Link Here
1
--- make/autoconf/flags-cflags.m4.orig	2020-01-08 09:12:31 UTC
2
+++ make/autoconf/flags-cflags.m4
3
@@ -770,6 +770,8 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
4
         # for all archs except arm and ppc, prevent gcc to omit frame pointer
5
         $1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
6
       fi
7
+    elif test "x$OPENJDK_TARGET_OS_ENV" = xbsd.freebsd; then
8
+        $1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=powerpc64 -mtune=power5"
9
     fi
10
 
11
   elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then

Return to bug 243183