commit:     cd563cd1f55d614a7d6a2bed02e6845ac26a4893
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 03:33:19 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug  5 03:35:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd563cd1

media-sound/musescore: mark as LTO-unsafe

Only for an old version. Conveniently, the newer releases have an
entirely different LTO error, but are also already filtered. So let's
complete the set so we can close a bug in stable keywords...

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

 media-sound/musescore/musescore-3.6.2-r1.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/media-sound/musescore/musescore-3.6.2-r1.ebuild 
b/media-sound/musescore/musescore-3.6.2-r1.ebuild
index c5afad3d5f44..38e0104ea372 100644
--- a/media-sound/musescore/musescore-3.6.2-r1.ebuild
+++ b/media-sound/musescore/musescore-3.6.2-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 CMAKE_MAKEFILE_GENERATOR="emake"
 CHECKREQS_DISK_BUILD=3500M
-inherit cmake qmake-utils xdg check-reqs
+inherit cmake flag-o-matic qmake-utils xdg check-reqs
 
 if [[ ${PV} == "9999" ]]; then
        inherit git-r3
@@ -83,6 +83,12 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/860885
+       #
+       # The relevant code no longer exists in later releases.
+       filter-lto
+
        # bug #766111
        export PATH="$(qt5_get_bindir):${PATH}"
 

Reply via email to