Multithread compilation also enabled for ppc and ppc64
This commit is contained in:
parent
7fafacabbe
commit
70a81b73b1
@ -278,7 +278,7 @@ export LIBDIR='%{_libdir}'
|
||||
MOZ_SMP_FLAGS=-j1
|
||||
# On x86 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} x86_64
|
||||
%ifarch %{ix86} x86_64 ppc ppc64
|
||||
[ -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