diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-04 20:10:53 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-05 04:47:49 +0000 |
commit | 6a195fb3ef89176315f1bcbdb6ad0e296e94d055 (patch) | |
tree | 604847ce737d4b845e80bef0ffc253f61eaf8a31 /media-libs/lsp-plugins | |
parent | media-sound/audacity: mark as LTO-unsafe, strict-aliasing unsafe (diff) | |
download | gentoo-6a195fb3ef89176315f1bcbdb6ad0e296e94d055.tar.gz gentoo-6a195fb3ef89176315f1bcbdb6ad0e296e94d055.tar.bz2 gentoo-6a195fb3ef89176315f1bcbdb6ad0e296e94d055.zip |
media-libs/lsp-plugins: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/875833
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
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.14.ebuild | 13 | ||||
-rw-r--r-- | media-libs/lsp-plugins/lsp-plugins-9999.ebuild | 13 |
2 files changed, 24 insertions, 2 deletions
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild index 020b5fd8f482..d8569e54fdd7 100644 --- a/media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild +++ b/media-libs/lsp-plugins/lsp-plugins-1.2.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -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-9999.ebuild b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild index 9d7901ffd074..0292665b83a8 100644 --- a/media-libs/lsp-plugins/lsp-plugins-9999.ebuild +++ b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -56,6 +56,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" |