diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-08-07 13:41:46 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-08-07 13:41:46 +0000 |
commit | 10a6b1ffc96708e264b95ad4346ba50316ac4cab (patch) | |
tree | cf1e5f51cb604e3ba387cf43ab79d63f054c04cc /Makefile.inc1 | |
parent | 19d732af8b06abc129e60b3015fbd21facf1f32b (diff) | |
download | src-10a6b1ffc96708e264b95ad4346ba50316ac4cab.tar.gz src-10a6b1ffc96708e264b95ad4346ba50316ac4cab.zip |
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)
Notes
Notes:
svn path=/head/; revision=101461
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 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 ?=. |