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:
parent
9e72552ff0
commit
6b30bfd370
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18821
15
share/mk/bsd.kern.mk
Normal file
15
share/mk/bsd.kern.mk
Normal 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
15
sys/conf/kern.mk
Normal 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.
|
||||
#
|
Loading…
Reference in New Issue
Block a user