games-emulation/dosbox-x: Respect the 'AR' variable

Closes: https://bugs.gentoo.org/856352
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
This commit is contained in:
Yuan Liao
2022-07-04 09:01:25 -07:00
parent b5beb2c6f5
commit 69b445fb0a
2 changed files with 12 additions and 2 deletions

View File

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

View File

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