build/src/for: use -j for multithreaded builds

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-08-27 11:34:24 +01:00
parent 95f290d9e3
commit 197464bc4b
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ handle_dependencies()
run_make_command() run_make_command()
{ {
if [ -z "${mode}" ]; then if [ -z "${mode}" ]; then
make -C "${project}" || \ make -C "${project}" -j$(nproc) || \
err "run_make_command: !make -C ${project}" err "run_make_command: !make -C ${project}"
else else
make -C "${project}" distclean || make -C "${project}" clean \ make -C "${project}" distclean || make -C "${project}" clean \