Bring in some changes to bsd.sys.mk from FreeBSD.
commit6dd738473955429dcfc85a5829c422837216bb26
authorPeter Avalos <pavalos@dragonflybsd.org>
Mon, 3 Nov 2008 00:25:45 +0000 (3 00:25 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Mon, 3 Nov 2008 00:25:45 +0000 (3 00:25 +0000)
treef266cfc7a613dee6b5067a9f82e070c57bf8eece
parent0fbd9725274609360d9c7c41846d62146fea6a32
Bring in some changes to bsd.sys.mk from FreeBSD.

-Werror is turned on for i386/gcc41 builds (can be overridden with
 NO_WERROR.
-Use CWARNFLAGS so they can be overridden easily.
-Introduce CSTD which allows a Makefile to specify the precise
 dialect of C.

Reviewed-by: swildner
28 files changed:
bin/ed/Makefile
etc/defaults/make.conf
gnu/usr.bin/binutils217/Makefile.inc0
lib/libm/Makefile
lib/libutil/Makefile
sbin/ccdconfig/Makefile
sbin/dhclient/Makefile
sbin/disklabel64/crc32.c
sbin/ipfw/Makefile
sbin/md5/Makefile
sbin/route/Makefile
sbin/routed/rtquery/Makefile
secure/lib/libtelnet/Makefile
secure/libexec/telnetd/Makefile
secure/usr.bin/telnet/Makefile
share/man/man5/make.conf.5
share/mk/bsd.sys.mk
sys/libkern/crc32.c
usr.bin/find/Makefile
usr.bin/fstat/Makefile
usr.bin/make/Makefile
usr.bin/mkstr/Makefile
usr.bin/truncate/Makefile
usr.sbin/keyserv/Makefile
usr.sbin/pciconf/Makefile
usr.sbin/pfctl/pfctl_altq.c
usr.sbin/pflogd/Makefile
usr.sbin/pstat/Makefile