parallel build uses NCPU jobs instead of NCPU+1

This commit is contained in:
cebix 2003-09-29 13:30:29 +00:00
parent 2d92ad6dfb
commit ddcfbe2bda

View File

@ -56,8 +56,8 @@ if [ -x /usr/bin/getconf ] ; then
else else
NCPU=1 NCPU=1
fi fi
PARL=$[ $NCPU + 1 ] (make -k -j $NCPU; exit 0)
make -j $PARL make
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}