From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AF8C158041 for ; Fri, 15 Mar 2024 02:53:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79F14E29E0; Fri, 15 Mar 2024 02:53:50 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 317EDE29E0 for ; Fri, 15 Mar 2024 02:53:50 +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 2896B33C1C1 for ; Fri, 15 Mar 2024 02:53:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 611FBFCB for ; Fri, 15 Mar 2024 02:53:47 +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: <1710471190.2e1a1763119efca3eaa26835bafdc664ca039b7d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lsp-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild X-VCS-Directories: media-libs/lsp-plugins/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2e1a1763119efca3eaa26835bafdc664ca039b7d X-VCS-Branch: master Date: Fri, 15 Mar 2024 02:53:47 +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: 12b45843-ebc9-4b22-9bd3-19758cdfe4aa X-Archives-Hash: 6a8c44b957b3dd70c561da996980ac5c commit: 2e1a1763119efca3eaa26835bafdc664ca039b7d Author: Sam James gentoo org> AuthorDate: Fri Mar 15 02:53:10 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 15 02:53:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e1a1763 media-libs/lsp-plugins: backport LTO filtering Bug: https://bugs.gentoo.org/875833 Closes: https://bugs.gentoo.org/874339 Signed-off-by: Sam James gentoo.org> media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild | 11 +++++++++++ media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild | 11 +++++++++++ media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild index dde3a257e761..cb0430405e9a 100644 --- a/media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild +++ b/media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild @@ -59,6 +59,17 @@ PATCHES=( ) src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/875833 + # + # Actually the whole thing is kind of a waste of time. It looks like + # programs use LDFLAGS, but libraries do not! So some things don't + # build with LTO, while other things don't build when LTO is enabled. + # Attempting to build with LTO is just a waste of time and cycles. + # + # This was reported upstream but the ticket closed. Abandon hope. + filter-lto + use doc && MODULES+="doc" use jack && MODULES+=" jack" use ladspa && MODULES+=" ladspa" diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild index f8d5a15f29c2..564fb4512fb9 100644 --- a/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild +++ b/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild @@ -55,6 +55,17 @@ DEPEND=" RDEPEND="${DEPEND}" src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/875833 + # + # Actually the whole thing is kind of a waste of time. It looks like + # programs use LDFLAGS, but libraries do not! So some things don't + # build with LTO, while other things don't build when LTO is enabled. + # Attempting to build with LTO is just a waste of time and cycles. + # + # This was reported upstream but the ticket closed. Abandon hope. + filter-lto + use doc && MODULES+="doc" use jack && MODULES+=" jack" use ladspa && MODULES+=" ladspa" diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild index f8d5a15f29c2..564fb4512fb9 100644 --- a/media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild +++ b/media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild @@ -55,6 +55,17 @@ DEPEND=" RDEPEND="${DEPEND}" src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/875833 + # + # Actually the whole thing is kind of a waste of time. It looks like + # programs use LDFLAGS, but libraries do not! So some things don't + # build with LTO, while other things don't build when LTO is enabled. + # Attempting to build with LTO is just a waste of time and cycles. + # + # This was reported upstream but the ticket closed. Abandon hope. + filter-lto + use doc && MODULES+="doc" use jack && MODULES+=" jack" use ladspa && MODULES+=" ladspa"