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 9db9689002..bc26e3bdbd 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 xdg +inherit autotools toolchain-funcs xdg if [[ "${PV}" == 9999 ]]; then inherit git-r3 @@ -146,6 +146,11 @@ src_configure() { econf "${myconf[@]}" } +src_compile() { + # https://bugs.gentoo.org/856352 + emake AR="$(tc-getAR)" +} + pkg_preinst() { xdg_pkg_preinst diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild index f2da3a0e03..052e563f50 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 xdg +inherit autotools toolchain-funcs xdg if [[ "${PV}" == 9999 ]]; then inherit git-r3 @@ -141,6 +141,11 @@ src_configure() { econf "${myconf[@]}" } +src_compile() { + # https://bugs.gentoo.org/856352 + emake AR="$(tc-getAR)" +} + pkg_preinst() { xdg_pkg_preinst