summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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