From 59d855a0fe36c06dbfef6f7bbd4fc018cc38f496 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 7 Jun 2003 18:16:12 +0000 Subject: [PATCH] When boot strapping from older systems, don't specify a C standard in the bootstrap process. This allows one to more completely build from a -stable box. Reviewed by: ru@ (briefly) --- Makefile.inc1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 61621a76473..849ba9944c9 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -202,6 +202,9 @@ BMAKEENV= DESTDIR= \ PATH=${BPATH}:${PATH} \ WORLDTMP=${WORLDTMP} \ MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" +.if ${BOOTSTRAPPING} < 501100 +BMAKEENV+= CSTD= +.endif BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \ ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ BOOTSTRAPPING=${OSRELDATE} \