diff options
-rw-r--r-- | share/mk/bsd.sys.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index ea0abc0..eb5f12d 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -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 |