dev-lang/perl: filter -flto as upstream is pretty shoddy
authorKent Fredric <kentnl@gentoo.org>
Sun, 8 Jul 2018 06:59:34 +0000 (18:59 +1200)
committerKent Fredric <kentnl@gentoo.org>
Sun, 8 Jul 2018 07:00:45 +0000 (19:00 +1200)
Changes in EUMM's test suite breaks -flto in ways beyond my ability
to fix.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-lang/perl/perl-5.28.9999.ebuild

index 97c307bd8be957a0bcdb35be95651bffaec7c2b6..3fee6ac8677a3c1d4bd210dc8df88e564313fc02 100644 (file)
@@ -370,6 +370,9 @@ src_configure() {
        # 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"
+
        use sparc && myconf -Ud_longdbl
 
        export BUILD_BZIP2=0