bsd.sys.mk (9215d178a47786b3dc9f6527bc8dc8995492c756) | bsd.sys.mk (0815243c3937b61db8b5a10cc652900d4df4acb0) |
---|---|
1# $FreeBSD$ 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 --- 112 unchanged lines hidden (view full) --- 121 ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 122# Don't use -Wstack-protector as it breaks world with -Werror. 123SSP_CFLAGS?= -fstack-protector 124CFLAGS+= ${SSP_CFLAGS} 125.endif # SSP && !IA64 && !ARM && !MIPS 126 127# Allow user-specified additional warning flags 128CFLAGS+= ${CWARNFLAGS} | 1# $FreeBSD$ 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 --- 112 unchanged lines hidden (view full) --- 121 ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 122# Don't use -Wstack-protector as it breaks world with -Werror. 123SSP_CFLAGS?= -fstack-protector 124CFLAGS+= ${SSP_CFLAGS} 125.endif # SSP && !IA64 && !ARM && !MIPS 126 127# Allow user-specified additional warning flags 128CFLAGS+= ${CWARNFLAGS} |
129 130 131# Tell bmake not to mistake standard targets for things to be searched for 132# or expect to ever be up-to-date. 133PHONY_NOTMAIN = afterdepend afterinstall all beforedepend beforeinstall \ 134 beforelinking build build-tools buildfiles buildincludes \ 135 checkdpadd clean cleandepend cleandir cleanobj configure \ 136 depend dependall distclean distribute exe extract fetch \ 137 html includes install installfiles installincludes lint \ 138 obj objlink objs objwarn patch realall realdepend \ 139 realinstall regress subdir-all subdir-depend subdir-install \ 140 tags whereobj 141 142.PHONY: ${PHONY_NOTMAIN} 143.NOTMAIN: ${PHONY_NOTMAIN} |
|