diff options
author | ru <ru@FreeBSD.org> | 2003-03-31 13:10:51 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-03-31 13:10:51 +0000 |
commit | 874869c32c9a77dca62c27f6f64b54dcd249948d (patch) | |
tree | 9cc8fcc1d330aee54ecdc6030c4ea06826cce1b2 /share/mk | |
parent | c5376b3ca5d22438663ed31f8f781516e42efea7 (diff) | |
download | FreeBSD-src-874869c32c9a77dca62c27f6f64b54dcd249948d.zip FreeBSD-src-874869c32c9a77dca62c27f6f64b54dcd249948d.tar.gz |
Enable cpp(1) warnings in system headers. GCC is oriented on
glibc which is externally maintained, so GCC ships with these
warnings turned off by default. This is also consistent with
the src/contrib/gcc/c-lex.c,v 1.2 change.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.sys.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 8219673..0d55b19 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -11,6 +11,7 @@ .if !defined(NO_WARNS) . if defined(WARNS) . if ${WARNS} > 0 +CFLAGS += -Wsystem-headers . if !defined(NO_WERROR) CFLAGS += -Werror . endif |