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 7030B1582EF for ; Fri, 21 Feb 2025 13:02:51 +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 45EED3430F4 for ; Fri, 21 Feb 2025 13:02:51 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8BD6B110470; Fri, 21 Feb 2025 13:02:46 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 80982110470 for ; Fri, 21 Feb 2025 13:02:46 +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 335553430A3 for ; Fri, 21 Feb 2025 13:02:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 92B16272B for ; Fri, 21 Feb 2025 13:02:44 +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: <1740142805.85a51b3530d93a3da98539a3c0b83f9af94488b4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/kodi/kodi-9999.ebuild X-VCS-Directories: media-tv/kodi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 85a51b3530d93a3da98539a3c0b83f9af94488b4 X-VCS-Branch: master Date: Fri, 21 Feb 2025 13:02:44 +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: 4fde6da1-9221-4d97-936f-70853f874992 X-Archives-Hash: 8b4b31ee4e6534d44145103ea9bd8d9f commit: 85a51b3530d93a3da98539a3c0b83f9af94488b4 Author: Alfred Wingate protonmail com> AuthorDate: Thu Jan 23 23:00:55 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 21 13:00:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a51b35 media-tv/kodi: allow lto for 9999 Upstream addressed ODR violations during C++20 upgrade. https://github.com/xbmc/xbmc/pull/24900 Signed-off-by: Alfred Wingate protonmail.com> Signed-off-by: Sam James gentoo.org> media-tv/kodi/kodi-9999.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index 29e9d681f990..6a774fed553b 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -361,7 +361,6 @@ src_configure() { -DENABLE_GOLD=OFF -DENABLE_LLD=OFF -DENABLE_MOLD=OFF - -DUSE_LTO=OFF # Features -DENABLE_AIRTUNES=$(usex airplay) @@ -445,9 +444,11 @@ src_configure() { append-cxxflags -DNDEBUG fi - # Violates ODR (bug #860984) and USE_LTO does spooky stuff - # https://github.com/xbmc/xbmc/commit/cb72a22d54a91845b1092c295f84eeb48328921e - filter-lto + if tc-is-lto ; then + mycmakeargs+=( -DUSE_LTO=ON ) + else + mycmakeargs+=( -DUSE_LTO=OFF ) + fi if tc-is-cross-compiler; then for t in "${NATIVE_TOOLS[@]}" ; do