Disable make -j2 on arm
This commit is contained in:
parent
fb09d0bcd0
commit
bd27a67ed9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user