From 61ad3909ac0e6fdf0e61e5124418bb36a5dcb1a1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 3 Aug 2025 20:52:49 +0100 Subject: [PATCH] sys-devel/binutils: sync 2.44.9999 w/ 2.44-r4 Signed-off-by: Sam James --- sys-devel/binutils/binutils-2.44.9999.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys-devel/binutils/binutils-2.44.9999.ebuild b/sys-devel/binutils/binutils-2.44.9999.ebuild index ec413eb353d56..b1a3d50a84a8e 100644 --- a/sys-devel/binutils/binutils-2.44.9999.ebuild +++ b/sys-devel/binutils/binutils-2.44.9999.ebuild @@ -19,7 +19,7 @@ IUSE="cet debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-l # PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/... # for the patchsets -PATCH_VER=1 +PATCH_VER=4 PATCH_DEV=dilfridge if [[ ${PV} == 9999 ]]; then @@ -134,6 +134,12 @@ src_prepare() { if [[ -n ${PATCH_VER} ]] || [[ ${PV} == *9999 ]] ; then if ! use vanilla; then + # We backported a patch in 2.44 but it needed a few + # followups. Better to just handle it in 2.45 instead. + rm "${WORKDIR}/patch/0007-strip-Add-GCC-LTO-IR-support.patch" \ + "${WORKDIR}/patch/0008-ld-testsuite-Use-plug_opt-for-plugin-option.patch" \ + "${WORKDIR}/patch/0009-binutils-Don-t-complain-plugin-with-all-LTO-sections.patch" || die + einfo "Applying binutils patchset ${patchsetname}" eapply "${WORKDIR}/patch" einfo "Done."