From b892137c5957227ac4b6f63e6581d4be1a8ed585 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Mon, 2 Feb 2015 23:08:12 -0800 Subject: [PATCH] JOBS is always set before libretro-build-common.sh --- libretro-build-common.sh | 4 ---- libretro-config.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 36449c84..7209a809 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -5,10 +5,6 @@ die() { #exit 1 } -if [ -z "$JOBS" ]; then - JOBS=7 -fi - if [ "$HOST_CC" ]; then CC="${HOST_CC}-gcc" CXX="${HOST_CC}-g++" diff --git a/libretro-config.sh b/libretro-config.sh index 3bd295fe..bf953f59 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -94,7 +94,7 @@ config_cpu config_platform config_log_build_host -if [ -z "$JOBS" ]; then +if [ -z "${JOBS}" ]; then if command -v nproc >/dev/null; then JOBS=`nproc` else