summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/x42-plugins/x42-plugins-20220714.ebuild')
-rw-r--r--media-plugins/x42-plugins/x42-plugins-20220714.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-plugins/x42-plugins/x42-plugins-20220714.ebuild b/media-plugins/x42-plugins/x42-plugins-20220714.ebuild
index f57cf56abcb2..48b97eecbcb1 100644
--- a/media-plugins/x42-plugins/x42-plugins-20220714.ebuild
+++ b/media-plugins/x42-plugins/x42-plugins-20220714.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Collection of LV2 plugins"
HOMEPAGE="https://github.com/x42/x42-plugins"
@@ -40,6 +40,11 @@ DEPEND="${RDEPEND}
sys-apps/help2man"
src_compile() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/860402
+ # https://github.com/x42/meters.lv2/issues/41
+ filter-lto
+
emake CC="$(tc-getCC)" STRIP="#" FONTFILE="/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf"
}