commit:     95eb73d1d8864495af162e557b75263f8f400992
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 13 00:53:07 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 07:16:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95eb73d1

sys-devel/icecream: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/957933
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sys-devel/icecream/icecream-1.4-r1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-devel/icecream/icecream-1.4-r1.ebuild 
b/sys-devel/icecream/icecream-1.4-r1.ebuild
index 23058f930d8e..ca61c97635a2 100644
--- a/sys-devel/icecream/icecream-1.4-r1.ebuild
+++ b/sys-devel/icecream/icecream-1.4-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 AT_NOELIBTOOLIZE="yes"
-inherit autotools systemd tmpfiles
+inherit autotools dot-a systemd tmpfiles
 
 DESCRIPTION="Distributed compiler with a central scheduler to share build load"
 HOMEPAGE="https://github.com/icecc/icecream";
@@ -32,6 +32,8 @@ src_prepare() {
 }
 
 src_configure() {
+       lto-guarantee-fat
+
        econf \
                --enable-clang-rewrite-includes \
                --enable-clang-wrappers
@@ -40,6 +42,8 @@ src_configure() {
 src_install() {
        default
 
+       strip-lto-bytecode
+
        find "${ED}" -name '*.la' -delete || die
 
        systemd_dounit "${FILESDIR}"/iceccd.service

Reply via email to