summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-07-02 17:05:45 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-07-02 17:05:59 +0200
commitac3c9c814c6007da265b0d7c30350f76fff07d29 (patch)
treefb64065dfc6d6a66c95b9f300e6c949563817899 /dev-lang
parentnet-misc/dhcpcd-ui: Simplified gtk deps a bit (diff)
downloadgentoo-ac3c9c814c6007da265b0d7c30350f76fff07d29.tar.gz
gentoo-ac3c9c814c6007da265b0d7c30350f76fff07d29.tar.bz2
gentoo-ac3c9c814c6007da265b0d7c30350f76fff07d29.zip
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@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/spidermonkey/spidermonkey-68.10.0.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/spidermonkey/spidermonkey-68.10.0.ebuild b/dev-lang/spidermonkey/spidermonkey-68.10.0.ebuild
index 816417287647..bc95dc960705 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 \