blfs tools: update JOBS for the new config
Now, we have ALL_CORES set to y or n, and depending on this, we want either JOBS to be set to $(nproc) or to the value of N_PARALLEL.
This commit is contained in:
parent
078ef3cf12
commit
d18fc24d5b
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ STATS=n
|
||||||
SRC_ARCHIVE=/sources
|
SRC_ARCHIVE=/sources
|
||||||
BUILD_ROOT=/sources
|
BUILD_ROOT=/sources
|
||||||
BUILD_SUBDIRS=y
|
BUILD_SUBDIRS=y
|
||||||
JOBS=$(if [ -n "$N_PARALLEL" ]; then echo $N_PARALLEL; else echo 1; fi)
|
JOBS=$(if [ "$ALL_CORES" = y ]; then nproc; else echo $N_PARALLEL; fi)
|
||||||
EOF
|
EOF
|
||||||
for OPT_VAR in CFLAGS CXXFLAGS LDFLAGS; do
|
for OPT_VAR in CFLAGS CXXFLAGS LDFLAGS; do
|
||||||
eval optVal=\$${OPT_VAR}_$DEF_OPT_MODE
|
eval optVal=\$${OPT_VAR}_$DEF_OPT_MODE
|
||||||
|
|
Reference in a new issue