mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 11:14:11 +00:00
JOBS is always set before libretro-build-common.sh
This commit is contained in:
parent
160af4b457
commit
b892137c59
@ -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++"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user