commit:     de520cd80fa8eb3c0b1adfaecbdf2b8060c95d27
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  5 10:31:36 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jun  5 10:33:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de520cd8

www-client/firefox: fix building against 
sys-devel/binutils-config[-native-symlinks]

Bug: https://bugs.gentoo.org/727160
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 www-client/firefox/firefox-68.9.0.ebuild | 1 +
 www-client/firefox/firefox-77.0.1.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/www-client/firefox/firefox-68.9.0.ebuild 
b/www-client/firefox/firefox-68.9.0.ebuild
index e7df4802647..a4306330c0d 100644
--- a/www-client/firefox/firefox-68.9.0.ebuild
+++ b/www-client/firefox/firefox-68.9.0.ebuild
@@ -521,6 +521,7 @@ src_configure() {
        # Set both --target and --host as mozilla uses python to guess values 
otherwise
        mozconfig_annotate '' --target="${CHOST}"
        mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
+       mozconfig_annotate '' --with-toolchain-prefix="${CHOST}-"
        if use system-libevent ; then
                mozconfig_annotate '' 
--with-system-libevent="${SYSROOT}${EPREFIX}"/usr
        fi

diff --git a/www-client/firefox/firefox-77.0.1.ebuild 
b/www-client/firefox/firefox-77.0.1.ebuild
index a596b48c52e..3b122387db5 100644
--- a/www-client/firefox/firefox-77.0.1.ebuild
+++ b/www-client/firefox/firefox-77.0.1.ebuild
@@ -540,6 +540,7 @@ src_configure() {
        # Set both --target and --host as mozilla uses python to guess values 
otherwise
        mozconfig_annotate '' --target="${CHOST}"
        mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
+       mozconfig_annotate '' --with-toolchain-prefix="${CHOST}-"
        if use system-libevent ; then
                mozconfig_annotate '' 
--with-system-libevent="${SYSROOT}${EPREFIX}"/usr
        fi

Reply via email to