summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-17 23:51:30 -0400
committerSam James <sam@gentoo.org>2024-03-18 05:30:04 +0000
commit718fed0a681f14841a17a084e70c212135c845f0 (patch)
tree066e9dad2d398a4a785ebc097dec1b24b2ffa128 /games-emulation
parentgames-sports/ultimatestunts: update EAPI 6 -> 8 (diff)
downloadgentoo-718fed0a681f14841a17a084e70c212135c845f0.tar.gz
gentoo-718fed0a681f14841a17a084e70c212135c845f0.tar.bz2
gentoo-718fed0a681f14841a17a084e70c212135c845f0.zip
games-emulation/dosbox-staging: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/926078 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild7
1 files changed, 6 insertions, 1 deletions
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