buildCurrentSymlinkedKernel: use -l for make; reudce corecount
This commit is contained in:
parent
b4d7404d6f
commit
dbb0b160ef
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue