1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

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

Centralized the definition of CWARNFLAGS into bsd.kern.mk.
This commit is contained in:
Bruce Evans 1996-10-08 22:10:49 +00:00
parent 9e72552ff0
commit 6b30bfd370
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18821
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.
#