diff options
author | Sam James <sam@gentoo.org> | 2024-03-15 02:53:10 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-15 02:53:10 +0000 |
commit | 2e1a1763119efca3eaa26835bafdc664ca039b7d (patch) | |
tree | d54bbf3e6e46c7361be545db494da6f595eeed40 /media-libs/lsp-plugins | |
parent | media-libs/lsp-plugins: respect CC, CXX, LD (diff) | |
download | gentoo-2e1a1763119efca3eaa26835bafdc664ca039b7d.tar.gz gentoo-2e1a1763119efca3eaa26835bafdc664ca039b7d.tar.bz2 gentoo-2e1a1763119efca3eaa26835bafdc664ca039b7d.zip |
media-libs/lsp-plugins: backport LTO filtering
Bug: https://bugs.gentoo.org/875833
Closes: https://bugs.gentoo.org/874339
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/lsp-plugins')
-rw-r--r-- | media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild | 11 | ||||
-rw-r--r-- | media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild | 11 | ||||
-rw-r--r-- | media-libs/lsp-plugins/lsp-plugins-1.2.6.ebuild | 11 |
3 files changed, 33 insertions, 0 deletions
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" |