summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2020-09-23 17:52:35 +0200
committerKalev Lember <klember@redhat.com>2020-09-23 17:58:42 +0200
commitbd0f8654262746237583ab12c0f0d53fb496a81e (patch)
tree429e51aa2806df6d477e4a8c33657ee877187dd3
parentAdded fix for rhbz#1731371 (diff)
downloadlibrewolf-fedora-ff-bd0f8654262746237583ab12c0f0d53fb496a81e.tar.gz
librewolf-fedora-ff-bd0f8654262746237583ab12c0f0d53fb496a81e.tar.bz2
librewolf-fedora-ff-bd0f8654262746237583ab12c0f0d53fb496a81e.zip
Enable parallel builds for aarch64
Beyond making the builds faster, this also appears to fix the build on aarch64 (libmozgtk.so not getting built) for reasons unknown. https://bugzilla.redhat.com/show_bug.cgi?id=1872111
-rw-r--r--firefox.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 3000bd1..d068381 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -630,7 +630,7 @@ MOZ_SMP_FLAGS=-j1
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
%endif
-%ifarch x86_64 ppc ppc64 ppc64le %{arm}
+%ifarch x86_64 ppc ppc64 ppc64le %{arm} aarch64
[ -z "$RPM_BUILD_NCPUS" ] && \
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
bgstack15