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
NCPU=1
fi
PARL=$[ $NCPU + 1 ]
make -j $PARL
(make -k -j $NCPU; exit 0)
make
%install
rm -rf ${RPM_BUILD_ROOT}