build-scripts/fatbuild.sh
changeset 3524 5668e43c256b
parent 3282 10a12f77f597
child 3609 72a1c4dda07c
     1.1 --- a/build-scripts/fatbuild.sh	Sat Dec 05 05:13:17 2009 +0000
     1.2 +++ b/build-scripts/fatbuild.sh	Sat Dec 05 19:46:24 2009 +0000
     1.3 @@ -4,7 +4,9 @@
     1.4  
     1.5  # Number of CPUs (for make -j)
     1.6  NCPU=`sysctl -n hw.ncpu`
     1.7 -NJOB=$NCPU
     1.8 +if test x$NJOB = x; then
     1.9 +    NJOB=$NCPU
    1.10 +fi
    1.11  
    1.12  # Generic, cross-platform CFLAGS you always want go here.
    1.13  CFLAGS="-O3 -g -pipe"