mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
mkpkg: limit the number of cores used to 16
This commit is contained in:
parent
cf225d2f10
commit
18613eee22
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user