www-client/firefox: Make cargo respect MAKEOPTS

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2022-01-28 09:45:17 +02:00
committed by Joonas Niilola
parent 130045ea62
commit 3a7cdd9a5b
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -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)/" \
+3
View File
@@ -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)/" \