commit: d992cf256ba854ba1f088f01728318248d51bc00 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Thu Jul 24 03:34:38 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Thu Jul 24 04:50:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d992cf25
net-misc/dhcp: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/959710 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild b/net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild index 5140fac40bb8..f1c0c6e66522 100644 --- a/net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild +++ b/net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit systemd toolchain-funcs flag-o-matic tmpfiles +inherit dot-a systemd toolchain-funcs flag-o-matic tmpfiles MY_PV="${PV//_alpha/a}" MY_PV="${MY_PV//_beta/b}" @@ -150,6 +150,8 @@ src_configure() { # bug #944907 append-cflags -std=gnu17 + lto-guarantee-fat + # bind defaults to stupid `/usr/bin/ar` tc-export AR BUILD_CC export ac_cv_path_AR=${AR} @@ -220,6 +222,8 @@ src_install() { emake -C keama DESTDIR="${D}" install + strip-lto-bytecode + dodoc README RELNOTES doc/{api+protocol,IANA-arp-parameters} docinto html dodoc doc/References.html
