From 36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Sep 2019 17:49:31 +0100 Subject: Revert "gentoo resync : 13.09.2019" This reverts commit a1392efe64137262023d92492396ca9156d22396. --- dev-lang/perl/perl-5.30.0.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'dev-lang/perl/perl-5.30.0.ebuild') diff --git a/dev-lang/perl/perl-5.30.0.ebuild b/dev-lang/perl/perl-5.30.0.ebuild index 8f02f4a820cc..8f0c0cb48d1f 100644 --- a/dev-lang/perl/perl-5.30.0.ebuild +++ b/dev-lang/perl/perl-5.30.0.ebuild @@ -357,6 +357,9 @@ src_configure() { export LC_ALL="C" [[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091 + # some arches and -O do not mix :) + use ppc && replace-flags -O? -O1 + # Perl has problems compiling with -Os in your flags with glibc use elibc_uclibc || replace-flags "-Os" "-O2" @@ -369,6 +372,12 @@ src_configure() { # This flag makes compiling crash in interesting ways filter-flags "-malign-double" + # Fixes bug #97645 + use ppc && filter-flags "-mpowerpc-gpopt" + + # Fixes bug #143895 on gcc-4.1.1 + filter-flags "-fsched2-use-superblocks" + # Generic LTO broken since 5.28, triggers EUMM failures filter-flags "-flto" @@ -464,9 +473,7 @@ src_configure() { # fix unaligned access misdetection # https://rt.perl.org/Public/Bug/Display.html?id=133495 - # bug #676062 - use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \ - myconf "-Dd_u32align='define'" + [[ ${CHOST} == sparc*-solaris* ]] && myconf "-Dd_u32align='define'" # Prefix: the host system needs not to follow Gentoo multilib stuff, and in # Prefix itself we don't do multilib either, so make sure perl can find -- cgit v1.2.3