From 10a6b1ffc96708e264b95ad4346ba50316ac4cab Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 7 Aug 2002 13:41:46 +0000 Subject: [PATCH] Makefile.inc1 may eventually be merged with Makefile, so fix an endless recursion bug similar to the one that has been fixed in release/Makefile,v 1.698, in advance. A related fix to make(1) has been committed in make/main.c,v 1.68. Requested by: bde (who has them merged already) --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index e1216d3514a..0ffd05cd73c 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 ?=.