Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Allow overriding the number of build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 5, 2009
1 parent 0305c6f commit f590484
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-scripts/fatbuild.sh
Expand Up @@ -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"
Expand Down

0 comments on commit f590484

Please sign in to comment.