build.sh: use as many threads as CPUs

This commit is contained in:
Mayeul Cantan 2018-08-16 23:16:02 +02:00 committed by Matt
parent 92af9ca78e
commit 667fe8536d
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ set -x # Print commands from now on
--disable-spice \
--disable-user \
time make -j4 2>&1 | tee build.log
time make -j`nproc` 2>&1 | tee build.log
$POST_BUILD # call post build functions