force to -j1 to see if this helps the build

This commit is contained in:
Christopher Aillon 2008-12-08 23:40:10 +00:00
parent 9d252f05c0
commit 4d8ece2e6e

View File

@ -133,11 +133,13 @@ export PREFIX='%{_prefix}'
export LIBDIR='%{_libdir}' export LIBDIR='%{_libdir}'
MOZ_SMP_FLAGS=-j1 MOZ_SMP_FLAGS=-j1
%if 0
%ifnarch ppc ppc64 s390 s390x %ifnarch ppc ppc64 s390 s390x
[ -z "$RPM_BUILD_NCPUS" ] && \ [ -z "$RPM_BUILD_NCPUS" ] && \
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`" RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
[ "$RPM_BUILD_NCPUS" -gt 1 ] && MOZ_SMP_FLAGS=-j2 [ "$RPM_BUILD_NCPUS" -gt 1 ] && MOZ_SMP_FLAGS=-j2
%endif %endif
%endif
INTERNAL_GECKO=%{internal_version} INTERNAL_GECKO=%{internal_version}
MOZ_APP_DIR=%{_libdir}/%{name}-${INTERNAL_GECKO} MOZ_APP_DIR=%{_libdir}/%{name}-${INTERNAL_GECKO}