diff --git a/Makefile.inc1 b/Makefile.inc1 index e1216d3514a7..0ffd05cd73cd 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -131,7 +131,7 @@ TARGET_CPUTYPE?=${CPUTYPE} TARGET?= ${TARGET_ARCH} TARGET_CPUTYPE?= .endif -_CPUTYPE!= cd ${.CURDIR}; ${MAKE} -m ${.CURDIR}/share/mk \ +_CPUTYPE!= ${MAKE} -f /dev/null -m ${.CURDIR}/share/mk \ CPUTYPE=X${TARGET_CPUTYPE} -V CPUTYPE .if ${_CPUTYPE} != X${TARGET_CPUTYPE} .error CPUTYPE global should be set with ?=.