mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 19:24:30 -05:00
Allow overriding the number of build jobs
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user