commit:     ca1565a6c2cefd1184f2cd830f4d7172fadfd84c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  1 18:00:30 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Jul  1 18:13:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca1565a6

dev-lang/spidermonkey: don't call ar directly

Closes: https://bugs.gentoo.org/718616
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild 
b/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild
index 0ac7ab4cc44..663dcc95bf9 100644
--- a/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild
@@ -72,6 +72,8 @@ src_prepare() {
 src_configure() {
        cd "${BUILDDIR}" || die
 
+       tc-export AR RANLIB
+
        ECONF_SOURCE="${S}/js/src" \
        econf \
                --disable-jemalloc \
@@ -80,6 +82,7 @@ src_configure() {
                --with-system-zlib \
                --disable-optimize \
                --with-intl-api \
+               --with-toolchain-prefix="${CHOST}-" \
                $(use_with system-icu) \
                $(use_enable debug) \
                $(use_enable jit ion) \

Reply via email to