diff --git a/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild b/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild index bc26e3bdbd..55c5d316cc 100644 --- a/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild +++ b/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools toolchain-funcs xdg +inherit autotools flag-o-matic toolchain-funcs xdg if [[ "${PV}" == 9999 ]]; then inherit git-r3 @@ -106,6 +106,11 @@ src_prepare() { die "Failed to remove check for setcap in Makefile.am" eautoreconf + + # https://bugs.gentoo.org/859973 + # https://github.com/joncampbell123/dosbox-x/issues/3663 + # No upstream response regarding LTO yet; disable it for now + filter-lto } src_configure() { diff --git a/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild b/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild index 8605437e94..55b6b1acc3 100644 --- a/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild +++ b/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools toolchain-funcs xdg +inherit autotools flag-o-matic toolchain-funcs xdg if [[ "${PV}" == 9999 ]]; then inherit git-r3 @@ -101,6 +101,11 @@ src_prepare() { die "Failed to remove check for setcap in Makefile.am" eautoreconf + + # https://bugs.gentoo.org/859973 + # https://github.com/joncampbell123/dosbox-x/issues/3663 + # No upstream response regarding LTO yet; disable it for now + filter-lto } src_configure() { diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild index 8605437e94..55b6b1acc3 100644 --- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild +++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools toolchain-funcs xdg +inherit autotools flag-o-matic toolchain-funcs xdg if [[ "${PV}" == 9999 ]]; then inherit git-r3 @@ -101,6 +101,11 @@ src_prepare() { die "Failed to remove check for setcap in Makefile.am" eautoreconf + + # https://bugs.gentoo.org/859973 + # https://github.com/joncampbell123/dosbox-x/issues/3663 + # No upstream response regarding LTO yet; disable it for now + filter-lto } src_configure() {