bsd.sys.mk (113066) | bsd.sys.mk (113136) |
---|---|
1# $FreeBSD: head/share/mk/bsd.sys.mk 113066 2003-04-04 10:47:06Z ru $ | 1# $FreeBSD: head/share/mk/bsd.sys.mk 113136 2003-04-05 20:30:30Z imp $ |
2# 3# This file contains common settings used for building FreeBSD 4# sources. 5 6# Enable various levels of compiler warning checks. These may be 7# overridden (e.g. if using a non-gcc compiler) by defining NO_WARNS. 8 9# for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143 --- 37 unchanged lines hidden (view full) --- 47CFLAGS += -Werror 48. endif 49. endif 50. endif 51.endif 52 53# Allow user-specified additional warning flags 54CFLAGS += ${CWARNFLAGS} | 2# 3# This file contains common settings used for building FreeBSD 4# sources. 5 6# Enable various levels of compiler warning checks. These may be 7# overridden (e.g. if using a non-gcc compiler) by defining NO_WARNS. 8 9# for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143 --- 37 unchanged lines hidden (view full) --- 47CFLAGS += -Werror 48. endif 49. endif 50. endif 51.endif 52 53# Allow user-specified additional warning flags 54CFLAGS += ${CWARNFLAGS} |
55 56# FreeBSD didn't always have the __FBSDID() macro in <sys/cdefs.h>. 57.if defined(BOOTSTRAPPING) && \ 58 ( ${BOOTSTRAPPING} < 440001 || \ 59 ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500024 )) 60CFLAGS+= -D__FBSDID=__RCSID 61.endif | |