mirror of
https://github.com/libretro/libretro-super
synced 2024-12-03 19:01:49 +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
|
#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++"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user