author | Sam Lantinga <slouken@libsdl.org> |
Sat, 05 Dec 2009 19:46:24 +0000 | |
changeset 3524 | 5668e43c256b |
parent 3523 | d38acda781ae |
child 3525 | 455a6c47d2c6 |
--- a/build-scripts/fatbuild.sh Sat Dec 05 05:13:17 2009 +0000 +++ b/build-scripts/fatbuild.sh Sat Dec 05 19:46:24 2009 +0000 @@ -4,7 +4,9 @@ # Number of CPUs (for make -j) 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. CFLAGS="-O3 -g -pipe"