diff --git a/platform.in b/platform.in index ca96189..5c77625 100644 --- a/platform.in +++ b/platform.in @@ -240,7 +240,7 @@ # Make %_make_bin make -%__nprocs %(N=`nproc`; [ "$N" -gt 0 ] 2>/dev/null && echo "$N" || echo 1) +%__nprocs %getncpus %_smp_mflags -j${NPROCS:-%__nprocs} %make_build %_make_bin %_smp_mflags