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:
parent
3aebbbbc02
commit
7cf143f761
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user