commit:     718fed0a681f14841a17a084e70c212135c845f0
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 18 03:51:30 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 05:30:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=718fed0a

games-emulation/dosbox-staging: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/926078
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild
index 859fcaaa1816..8dc276da8126 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit meson xdg
+inherit flag-o-matic meson xdg
 
 DESCRIPTION="Modernized DOSBox soft-fork"
 HOMEPAGE="https://dosbox-staging.github.io/";
@@ -49,6 +49,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/926078
+       # https://github.com/dosbox-staging/dosbox-staging/issues/3519
+       filter-lto
+
        # xinput2 comes with libsdl2[X]
        local emesonargs=(
                -Duse_xinput2=true

Reply via email to