WITH_META_MODE: Set MK_META_MODE=no with -B.
Using -B already sets .MAKE.MODE=compat but it was leaving MK_META_MODE set which could still cause other MK_META_MODE==yes checks to trigger. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
341d14b404
commit
37250e4856
@ -42,9 +42,14 @@ __ENV_ONLY_OPTIONS:= \
|
||||
|
||||
.include <bsd.mkopt.mk>
|
||||
|
||||
# Disable MK_META_MODE with make -B
|
||||
.if ${MK_META_MODE} == "yes" && defined(.MAKEFLAGS) && ${.MAKEFLAGS:M-B}
|
||||
MK_META_MODE= no
|
||||
.endif
|
||||
|
||||
.if ${MK_DIRDEPS_BUILD} == "yes"
|
||||
.sinclude <meta.sys.mk>
|
||||
.elif ${MK_META_MODE} == "yes" && defined(.MAKEFLAGS) && ${.MAKEFLAGS:M-B} == ""
|
||||
.elif ${MK_META_MODE} == "yes"
|
||||
# verbose will show .MAKE.META.PREFIX for each target.
|
||||
META_MODE+= meta verbose
|
||||
.if !defined(NO_META_MISSING)
|
||||
|
Loading…
Reference in New Issue
Block a user