From 874869c32c9a77dca62c27f6f64b54dcd249948d Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 31 Mar 2003 13:10:51 +0000 Subject: 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. --- share/mk/bsd.sys.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'share/mk') 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 -- cgit v1.1