META MODE: Fix changing what "MACHINE=host" means when computing dirdeps for include/.
The _SKIP_BUILD is used while computing DIRDEPS. If MACHINE=host is passed in then this logic was replacing 'MACHINE' with a literal value of the host arch, which then caused the dirdeps graph to be wrong since it no longer had the literal 'host' for any of include's dependencies. This is a NOP currently since include/ is not usually built with MACHINE=host. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
20f680588a
commit
dbf5bd502a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291027
@ -376,7 +376,7 @@ symlinks:
|
||||
@touch ${.OBJDIR}/${.TARGET}
|
||||
.endif
|
||||
|
||||
.if ${MACHINE} == "host"
|
||||
.if ${MACHINE} == "host" && !defined(_SKIP_BUILD)
|
||||
# we're here because we are building a sysroot...
|
||||
# we need MACHINE et al set correctly
|
||||
HOST_MACHINE!= uname -m
|
||||
|
Loading…
Reference in New Issue
Block a user