Disable make -j2 on arm

This commit is contained in:
Martin Stransky 2018-12-17 10:35:21 +01:00
parent fb09d0bcd0
commit bd27a67ed9

View File

@ -530,7 +530,7 @@ echo "ac_add_options MOZ_PGO=1" >> .mozconfig
MOZ_SMP_FLAGS=-j1
# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
# however builds tend to fail on other arches when building in parallel.
%ifarch %{ix86} %{arm}
%ifarch %{ix86}
[ -z "$RPM_BUILD_NCPUS" ] && \
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2