From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7FFC21584AD for ; Tue, 06 May 2025 12:20:15 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 5E165343161 for ; Tue, 06 May 2025 12:20:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5F5311103AD; Tue, 06 May 2025 12:20:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 581D51103AD for ; Tue, 06 May 2025 12:20:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0ADBB3430A3 for ; Tue, 06 May 2025 12:20:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60D012668 for ; Tue, 06 May 2025 12:20:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1746533467.066db17f066daf56d2d58e4f10ca8d83c74203de.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/check/check-0.15.2-r2.ebuild X-VCS-Directories: dev-libs/check/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 066db17f066daf56d2d58e4f10ca8d83c74203de X-VCS-Branch: master Date: Tue, 06 May 2025 12:20:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7ef8fa8b-4cda-42d5-b5b1-7ec10e5e67b7 X-Archives-Hash: e99cca35ea94f6e0f5b622e08ff7db34 commit: 066db17f066daf56d2d58e4f10ca8d83c74203de Author: Sam James gentoo org> AuthorDate: Tue May 6 11:42:25 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 6 12:11:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=066db17f dev-libs/check: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Signed-off-by: Sam James gentoo.org> dev-libs/check/check-0.15.2-r2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-libs/check/check-0.15.2-r2.ebuild b/dev-libs/check/check-0.15.2-r2.ebuild index 892919795257..073ff4ff3669 100644 --- a/dev-libs/check/check-0.15.2-r2.ebuild +++ b/dev-libs/check/check-0.15.2-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib +inherit cmake-multilib dot-a DESCRIPTION="A unit test framework for C" HOMEPAGE="https://libcheck.github.io/check/" @@ -29,6 +29,11 @@ PATCHES=( "${FILESDIR}"/${P}-Fix-pkgconfig-file-s-libdir-value.patch ) +src_configure() { + lto-guarantee-fat + cmake-multilib_src_configure +} + multilib_src_configure() { local mycmakeargs=( -DBUILD_TESTING=$(usex test ON OFF) @@ -50,4 +55,5 @@ multilib_src_compile() { multilib_src_install_all() { use doc && local HTML_DOCS=( "${S}"/doc/html/. ) einstalldocs + strip-lto-bytecode }