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 7A5B61584AD for ; Tue, 06 May 2025 12:20:17 +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 663EA343173 for ; Tue, 06 May 2025 12:20:17 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 60DB41103BD; Tue, 06 May 2025 12:20:12 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5904A1103BD 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 14CCB3430F4 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 7492A2785 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: <1746533468.af83cdda1378eaa8c8521d92c7d15efc3210e443.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libsdl2/libsdl2-2.32.6.ebuild X-VCS-Directories: media-libs/libsdl2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: af83cdda1378eaa8c8521d92c7d15efc3210e443 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: 39a0b63b-838a-49a9-b058-3c48ab144d74 X-Archives-Hash: d2ab2997c8e31596ed3ea4aa11feeef7 commit: af83cdda1378eaa8c8521d92c7d15efc3210e443 Author: Sam James gentoo org> AuthorDate: Tue May 6 12:10:24 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 6 12:11:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af83cdda media-libs/libsdl2: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Especially important because of libSDL2_test.a. Signed-off-by: Sam James gentoo.org> media-libs/libsdl2/libsdl2-2.32.6.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media-libs/libsdl2/libsdl2-2.32.6.ebuild b/media-libs/libsdl2/libsdl2-2.32.6.ebuild index 00268da65efc..8fffb0bd9cac 100644 --- a/media-libs/libsdl2/libsdl2-2.32.6.ebuild +++ b/media-libs/libsdl2/libsdl2-2.32.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib flag-o-matic +inherit cmake-multilib dot-a flag-o-matic MY_P="SDL2-${PV}" DESCRIPTION="Simple Direct Media Layer" @@ -121,6 +121,7 @@ src_prepare() { src_configure() { use custom-cflags || strip-flags + lto-guarantee-fat local mycmakeargs=( -DSDL_STATIC=$(usex static-libs) @@ -211,4 +212,5 @@ multilib_src_install_all() { rm -r "${ED}"/usr/share/licenses/ || die dodoc {BUGS,CREDITS,README-SDL,TODO,WhatsNew}.txt README.md docs/README*.md use doc && dodoc -r docs/output/html/ + strip-lto-bytecode }