JOBS is always set before libretro-build-common.sh

This commit is contained in:
T. Joseph Carter 2015-02-02 23:08:12 -08:00
parent 160af4b457
commit b892137c59
2 changed files with 1 additions and 5 deletions

View File

@ -5,10 +5,6 @@ die() {
#exit 1 #exit 1
} }
if [ -z "$JOBS" ]; then
JOBS=7
fi
if [ "$HOST_CC" ]; then if [ "$HOST_CC" ]; then
CC="${HOST_CC}-gcc" CC="${HOST_CC}-gcc"
CXX="${HOST_CC}-g++" CXX="${HOST_CC}-g++"

View File

@ -94,7 +94,7 @@ config_cpu
config_platform config_platform
config_log_build_host config_log_build_host
if [ -z "$JOBS" ]; then if [ -z "${JOBS}" ]; then
if command -v nproc >/dev/null; then if command -v nproc >/dev/null; then
JOBS=`nproc` JOBS=`nproc`
else else