commit: ad933ea0ea47f58dd83a7a41df74680eef6a5fb4
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 16:12:20 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 17:16:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad933ea0
www-client/firefox: ESR: backport toolchain fix
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
www-client/firefox/firefox-68.10.0.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www-client/firefox/firefox-68.10.0.ebuild
b/www-client/firefox/firefox-68.10.0.ebuild
index 420e4b28fa2..3aeb9504f10 100644
--- a/www-client/firefox/firefox-68.10.0.ebuild
+++ b/www-client/firefox/firefox-68.10.0.ebuild
@@ -297,6 +297,12 @@ src_prepare() {
"${S}"/build/moz.configure/toolchain.configure \
|| die "sed failed to set num_cores"
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py
\
+ || die "sed failed to set toolchain prefix"
+
# Allow user to apply any additional patches without modifing ebuild
eapply_user