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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2346C1584AD for ; Tue, 06 May 2025 17:41:04 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0E586342FDE for ; Tue, 06 May 2025 17:41:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EE85311036F; Tue, 06 May 2025 17:41:02 +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 E7CD311036F for ; Tue, 06 May 2025 17:41:02 +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 A3AF03430E8 for ; Tue, 06 May 2025 17:41:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1658711F3 for ; Tue, 06 May 2025 17:41:01 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1746553227.766b26c8b736f592efca38ea43c0197d6b57f277.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/shaderc/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/shaderc/shaderc-2025.1.ebuild X-VCS-Directories: media-libs/shaderc/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 766b26c8b736f592efca38ea43c0197d6b57f277 X-VCS-Branch: master Date: Tue, 06 May 2025 17:41:01 +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: 68bb54e4-2e21-4166-8aae-fab3a219d6e3 X-Archives-Hash: 6d912418c6b0b4256583a47c7d6fad53 commit: 766b26c8b736f592efca38ea43c0197d6b57f277 Author: Eli Schwartz gentoo org> AuthorDate: Tue May 6 15:01:02 2025 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Tue May 6 17:40:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=766b26c8 media-libs/shaderc: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Signed-off-by: Eli Schwartz gentoo.org> media-libs/shaderc/shaderc-2025.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media-libs/shaderc/shaderc-2025.1.ebuild b/media-libs/shaderc/shaderc-2025.1.ebuild index 173d685402a1..bbe7c780e6b0 100644 --- a/media-libs/shaderc/shaderc-2025.1.ebuild +++ b/media-libs/shaderc/shaderc-2025.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake-multilib python-any-r1 +inherit cmake-multilib dot-a python-any-r1 DESCRIPTION="Collection of tools, libraries and tests for shader compilation" HOMEPAGE="https://github.com/google/shaderc" @@ -57,6 +57,7 @@ src_prepare() { } multilib_src_configure() { + lto-guarantee-fat local mycmakeargs=( -DSHADERC_SKIP_TESTS="true" -DSHADERC_ENABLE_WERROR_COMPILE="false" @@ -76,4 +77,5 @@ multilib_src_install() { use doc && local HTML_DOCS=( "${BUILD_DIR}/glslc/README.html" ) fi cmake_src_install + strip-lto-bytecode }