summaryrefslogtreecommitdiff
path: root/media-libs/lsp-plugins/lsp-plugins-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/lsp-plugins/lsp-plugins-9999.ebuild')
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-9999.ebuild13
1 files changed, 12 insertions, 1 deletions
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"