commit:     2c291d432f5cd25656bb6520e02e39b3fdc97a1a
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 31 19:41:52 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 21:16:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c291d43

media-sound/lmms: mark as LTO-unsafe

Fixed upstream in git, leave off of live ebuild.

Closes: https://bugs.gentoo.org/860867
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 media-sound/lmms/lmms-1.2.2-r2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/media-sound/lmms/lmms-1.2.2-r2.ebuild 
b/media-sound/lmms/lmms-1.2.2-r2.ebuild
index 20dd54d2f656..775db25c1d67 100644
--- a/media-sound/lmms/lmms-1.2.2-r2.ebuild
+++ b/media-sound/lmms/lmms-1.2.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="Cross-platform music production software"
 HOMEPAGE="https://lmms.io";
@@ -90,6 +90,13 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/860867
+       # https://github.com/LMMS/lmms/pull/6174
+       #
+       # Fixed upstream, remove whenever they finally release a new version.
+       filter-lto
+
        local mycmakeargs=(
                -DUSE_WERROR=FALSE
                -DWANT_CAPS=FALSE

Reply via email to