FreeBSD prior to 4.5-RELEASE and older versions of 5.0-CURRENT do not

have the __FBSDID() macro in <sys/cdefs.h>.  Fix this once and for all
for tools that need to be bootstrapped.

PR:		bin/36747
MFC after:	3 days
Prodded by:	obrien
This commit is contained in:
Ruslan Ermilov 2002-04-07 17:03:06 +00:00
parent 3aebbbbc02
commit 7cf143f761
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94127

View File

@ -44,3 +44,8 @@ CFLAGS += -Werror
# Allow user-specified additional warning flags
CFLAGS += ${CWARNFLAGS}
# FreeBSD prior to 4.5 didn't have the __FBSDID() macro in <sys/cdefs.h>.
.if defined(BOOTSTRAPPING)
CFLAGS+= -D__FBSDID=__RCSID
.endif