From 7920e22cea169d5aaff2a66cc1383ec4f6e63e12 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 13 Nov 2002 13:49:29 +0000 Subject: Take __FreeBSD_version into account when BOOTSTRAPPING. --- share/mk/bsd.sys.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'share/mk/bsd.sys.mk') diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 2988a5b..8219673 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -55,7 +55,9 @@ CFLAGS += -Werror # Allow user-specified additional warning flags CFLAGS += ${CWARNFLAGS} -# FreeBSD prior to 4.5 didn't have the __FBSDID() macro in . -.if defined(BOOTSTRAPPING) +# FreeBSD didn't always have the __FBSDID() macro in . +.if defined(BOOTSTRAPPING) && \ + ( ${BOOTSTRAPPING} < 440001 || \ + ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500024 )) CFLAGS+= -D__FBSDID=__RCSID .endif -- cgit v1.1