sys-libs/binutils-libs: filter LTO

It seems to be racey and sometimes fails with a missing library (sometimes
libbfd*-mt).

Closes: https://bugs.gentoo.org/814326
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2024-03-27 03:58:24 +00:00
parent ec95eaffca
commit 1e023dabc8
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
11 changed files with 39 additions and 17 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=6
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -54,6 +54,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
--enable-obsolete
--enable-shared

View File

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=1
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -56,6 +56,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
--enable-obsolete
--enable-shared

View File

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=5
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -54,6 +54,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
--enable-obsolete
--enable-shared

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=2
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -55,6 +55,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
--enable-obsolete
--enable-shared

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=4
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -69,6 +69,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
--enable-obsolete
--enable-shared

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=6
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -69,6 +69,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
--enable-obsolete
--enable-shared

View File

@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=6
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -73,6 +73,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
--enable-obsolete
--enable-shared

View File

@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=2
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -75,6 +75,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
# portage's econf() does not detect presence of --d-d-t
# because it greps only top-level ./configure. But not

View File

@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=4
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -75,6 +75,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
# portage's econf() does not detect presence of --d-d-t
# because it greps only top-level ./configure. But not

View File

@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=5
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -75,6 +75,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
# portage's econf() does not detect presence of --d-d-t
# because it greps only top-level ./configure. But not

View File

@ -6,7 +6,7 @@ EAPI=7
PATCH_VER=3
PATCH_DEV=dilfridge
inherit libtool toolchain-funcs multilib-minimal
inherit flag-o-matic libtool toolchain-funcs multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@ -75,6 +75,8 @@ pkgversion() {
}
multilib_src_configure() {
filter-lto
local myconf=(
# portage's econf() does not detect presence of --d-d-t
# because it greps only top-level ./configure. But not