2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

mkpkg: limit the number of cores used to 16

This commit is contained in:
Todd C. Miller 2021-09-17 09:10:27 -06:00
parent cf225d2f10
commit 18613eee22

View File

@ -125,6 +125,9 @@ if ${MAKE} --version 2>&1 | grep GNU >/dev/null; then
;; ;;
esac esac
if [ $NJOBS -gt 1 ]; then if [ $NJOBS -gt 1 ]; then
if [ $NJOBS -gt 16 ]; then
NJOBS=16
fi
make_opts="-j$NJOBS" make_opts="-j$NJOBS"
fi fi
fi fi