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
This commit is contained in:
parent
c8a56b17a2
commit
bd0f865426
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user