Allow overriding the number of build jobs
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404267
This commit is contained in:
parent
e7a9fc5a82
commit
21f0a00736
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@
|
||||||
|
|
||||||
# Number of CPUs (for make -j)
|
# Number of CPUs (for make -j)
|
||||||
NCPU=`sysctl -n hw.ncpu`
|
NCPU=`sysctl -n hw.ncpu`
|
||||||
NJOB=$NCPU
|
if test x$NJOB = x; then
|
||||||
|
NJOB=$NCPU
|
||||||
|
fi
|
||||||
|
|
||||||
# Generic, cross-platform CFLAGS you always want go here.
|
# Generic, cross-platform CFLAGS you always want go here.
|
||||||
CFLAGS="-O3 -g -pipe"
|
CFLAGS="-O3 -g -pipe"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue