diff --git a/buildCurrentSymlinkedKernel.sh b/buildCurrentSymlinkedKernel.sh index b742fbd..8e36696 100755 --- a/buildCurrentSymlinkedKernel.sh +++ b/buildCurrentSymlinkedKernel.sh @@ -56,7 +56,7 @@ if [[ "$NOCONFIG" || "$FORCE" ]] ; then mount /boot 2> /dev/null CORES="$(getconf _NPROCESSORS_ONLN)" - (nice make -j -l$((CORES-1)) CC="ccache gcc") > "buildlog-$TIMESTAMP" || tail -n 20 "buildlog-$TIMESTAMP" + (nice make -j$((CORES-2)) -l$((CORES-2)) CC="ccache gcc") > "buildlog-$TIMESTAMP" || tail -n 20 "buildlog-$TIMESTAMP" SUCCESS=$? if [[ $SUCCESS == 0 ]] && [[ $CHROOTED == 1 ]] ; then ( make tarxz-pkg ) >> "buildlog-$TIMESTAMP"