diff options
Diffstat (limited to 'java/openjdk11/files/patch-make_autoconf_flags-cflags.m4')
-rw-r--r-- | java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 b/java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 new file mode 100644 index 000000000000..aede54b34b92 --- /dev/null +++ b/java/openjdk11/files/patch-make_autoconf_flags-cflags.m4 @@ -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 |