diff options
author | ru <ru@FreeBSD.org> | 2002-08-07 13:41:46 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-08-07 13:41:46 +0000 |
commit | cb35d94c9240fa7c8344c31338dcb018ad88bbe8 (patch) | |
tree | cf1e5f51cb604e3ba387cf43ab79d63f054c04cc /Makefile.inc1 | |
parent | 2c0f1f41c3f62fb95f887480a5a63c21e780e744 (diff) | |
download | FreeBSD-src-cb35d94c9240fa7c8344c31338dcb018ad88bbe8.zip FreeBSD-src-cb35d94c9240fa7c8344c31338dcb018ad88bbe8.tar.gz |
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)
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index e1216d3..0ffd05c 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 ?=. |