build-scripts/fatbuild.sh
changeset 3524 5668e43c256b
parent 3282 10a12f77f597
child 3609 72a1c4dda07c
--- 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"