commit:     ac3c9c814c6007da265b0d7c30350f76fff07d29
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  2 15:05:45 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Jul  2 15:05:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3c9c81

dev-lang/spidermonkey: fix cross-compile

Instead of the standard --build= and --host=, Mozilla
uses --host instead of --build, and --target intstead
of --host.

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

 dev-lang/spidermonkey/spidermonkey-68.10.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/spidermonkey/spidermonkey-68.10.0.ebuild 
b/dev-lang/spidermonkey/spidermonkey-68.10.0.ebuild
index 81641728764..bc95dc96070 100644
--- a/dev-lang/spidermonkey/spidermonkey-68.10.0.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-68.10.0.ebuild
@@ -124,6 +124,7 @@ src_configure() {
        # and other minor arches
        ECONF_SOURCE="${S}" \
        econf \
+               --host="${CBUILD:-${CHOST}}" \
                --target="${CHOST}" \
                --disable-jemalloc \
                --disable-optimize \

Reply via email to