summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-06-07 18:16:12 +0000
committerimp <imp@FreeBSD.org>2003-06-07 18:16:12 +0000
commit2db9b918f6e4aeac009b7ab65cb14dd0dbb0921e (patch)
treee17900f07b0c89bb9e17676fb894032e233e6cde /Makefile.inc1
parent7c18a9f411c24aa557571760b48c3a7168c98b43 (diff)
downloadFreeBSD-src-2db9b918f6e4aeac009b7ab65cb14dd0dbb0921e.zip
FreeBSD-src-2db9b918f6e4aeac009b7ab65cb14dd0dbb0921e.tar.gz
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)
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc13
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 61621a7..849ba99 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} \
OpenPOWER on IntegriCloud