Index: Makefile =================================================================== --- Makefile (revision 522324) +++ Makefile (working copy) @@ -134,6 +134,10 @@ CONFIGURE_ARGS+= --disable-warnings-as-errors \ --disable-dtrace .endif +.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 +CONFIGURE_ARGS+= --disable-precompiled-headers +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-make_autoconf_flags-cflags.m4 +.endif .if ${ARCH} != amd64 CONFIGURE_ARGS+= --enable-aot=no .endif Index: files/extra-patch-make_autoconf_flags-cflags.m4 =================================================================== --- files/extra-patch-make_autoconf_flags-cflags.m4 (nonexistent) +++ files/extra-patch-make_autoconf_flags-cflags.m4 (working copy) @@ -0,0 +1,11 @@ +--- make/autoconf/flags-cflags.m4.orig 2020-01-08 09:12:31 UTC ++++ make/autoconf/flags-cflags.m4 +@@ -770,6 +770,8 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP], + # for all archs except arm and ppc, prevent gcc to omit frame pointer + $1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer" + fi ++ elif test "x$OPENJDK_TARGET_OS_ENV" = xbsd.freebsd; then ++ $1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=powerpc64 -mtune=power5" + fi + + elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then Property changes on: files/extra-patch-make_autoconf_flags-cflags.m4 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property