Allow buildworld and friends to complete when make(1) is called

with some debug flags (-d).

Noticed by:	Gleb Smirnoff
This commit is contained in:
Ruslan Ermilov 2004-05-17 16:19:51 +00:00
parent 7d092c8fab
commit b4c3fa62f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129342

View File

@ -111,7 +111,7 @@ _TARGET_CPUTYPE=${TARGET_CPUTYPE}
.else
_TARGET_CPUTYPE=dummy
.endif
_CPUTYPE!= ${MAKE} -f /dev/null -m ${.CURDIR}/share/mk \
_CPUTYPE!= MAKEFLAGS= ${MAKE} -f /dev/null -m ${.CURDIR}/share/mk \
CPUTYPE=${_TARGET_CPUTYPE} -V CPUTYPE
.if ${_CPUTYPE} != ${_TARGET_CPUTYPE}
.error CPUTYPE global should be set with ?=.