Oops, forgot to cvs add bsd.kern.mk.

Centralized the definition of CWARNFLAGS into bsd.kern.mk.
This commit is contained in:
bde 1996-10-08 22:10:49 +00:00
parent fa51fcfcdd
commit 81e1e3c10e
2 changed files with 30 additions and 0 deletions

15
share/mk/bsd.kern.mk Normal file
View File

@ -0,0 +1,15 @@
# $Id$
#
# Warning flags for compiling the kernel and components of the kernel.
#
CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
-Winline -Wunused -Wpointer-arith -Wcast-qual
#
# The following flags are next up for working on:
# -Wformat -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.
#

15
sys/conf/kern.mk Normal file
View File

@ -0,0 +1,15 @@
# $Id$
#
# Warning flags for compiling the kernel and components of the kernel.
#
CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
-Winline -Wunused -Wpointer-arith -Wcast-qual
#
# The following flags are next up for working on:
# -Wformat -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.
#