make: set job count to processor count if possible
This commit is contained in:
parent
0267670407
commit
939ccf15b9
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# protect against missing 'nproc'
|
||||
if [ -x "$(command -v nproc)" ]; then
|
||||
export MAKEOPTS="-j$(nproc)"
|
||||
fi
|
Loading…
Reference in New Issue