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>
This commit is contained in:
Eli Schwartz
2024-03-17 23:51:30 -04:00
committed by Sam James
parent 15ba64ed70
commit 718fed0a68

View File

@@ -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