- Follow-up to r317320: fix MAKE_JOBS_NUMBER not being set
if none of DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE or MAKE_JOBS_SAFE or FORCE_MAKE_JOBS were set. This fixes the build for several ports updated in r317320. Reported by: miwi With hat: portmgr
This commit is contained in:
parent
23be4a93da
commit
d7e1eea732
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317639
1 changed files with 4 additions and 1 deletions
|
@ -2159,7 +2159,6 @@ CFLAGS:= ${CFLAGS:N-std=*} -std=${USE_CSTD}
|
|||
|
||||
# Multiple make jobs support
|
||||
.if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
|
||||
MAKE_JOBS_NUMBER= 1
|
||||
_MAKE_JOBS= #
|
||||
.else
|
||||
.if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS)
|
||||
|
@ -2171,6 +2170,10 @@ BUILD_FAIL_MESSAGE+= "You have chosen to use multiple make jobs (parallelization
|
|||
.endif
|
||||
.endif
|
||||
|
||||
.if empty(MAKE_JOBS_NUMBER)
|
||||
MAKE_JOBS_NUMBER= 1
|
||||
.endif
|
||||
|
||||
# ccache support
|
||||
# Support NO_CCACHE for common setups, require WITH_CCACHE_BUILD, and
|
||||
# don't use if ccache already set in CC
|
||||
|
|
Loading…
Reference in a new issue