build-scripts/fatbuild.sh
changeset 3524 5668e43c256b
parent 3282 10a12f77f597
child 3609 72a1c4dda07c
equal deleted inserted replaced
3523:d38acda781ae 3524:5668e43c256b
     2 #
     2 #
     3 # Build a fat binary on Mac OS X, thanks Ryan!
     3 # Build a fat binary on Mac OS X, thanks Ryan!
     4 
     4 
     5 # Number of CPUs (for make -j)
     5 # Number of CPUs (for make -j)
     6 NCPU=`sysctl -n hw.ncpu`
     6 NCPU=`sysctl -n hw.ncpu`
     7 NJOB=$NCPU
     7 if test x$NJOB = x; then
       
     8     NJOB=$NCPU
       
     9 fi
     8 
    10 
     9 # Generic, cross-platform CFLAGS you always want go here.
    11 # Generic, cross-platform CFLAGS you always want go here.
    10 CFLAGS="-O3 -g -pipe"
    12 CFLAGS="-O3 -g -pipe"
    11 
    13 
    12 # PowerPC 32-bit configure flags (10.4 runtime compatibility)
    14 # PowerPC 32-bit configure flags (10.4 runtime compatibility)