make: set job count to processor count if possible
This commit is contained in:
parent
0267670407
commit
939ccf15b9
6
70-make/profile
Normal file
6
70-make/profile
Normal file
@ -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
Block a user