diff --git a/www-client/firefox/firefox-91.5.1.ebuild b/www-client/firefox/firefox-91.5.1.ebuild index 626ac54e86e61..e2b258aa159db 100644 --- a/www-client/firefox/firefox-91.5.1.ebuild +++ b/www-client/firefox/firefox-91.5.1.ebuild @@ -580,6 +580,9 @@ src_prepare() { # Allow user to apply any additional patches without modifing ebuild eapply_user + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + # Make LTO respect MAKEOPTS sed -i \ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ diff --git a/www-client/firefox/firefox-96.0.3.ebuild b/www-client/firefox/firefox-96.0.3.ebuild index 8d7e2c1c0e9eb..8b24b1dfafe21 100644 --- a/www-client/firefox/firefox-96.0.3.ebuild +++ b/www-client/firefox/firefox-96.0.3.ebuild @@ -582,6 +582,9 @@ src_prepare() { # Allow user to apply any additional patches without modifing ebuild eapply_user + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + # Make LTO respect MAKEOPTS sed -i \ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \