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
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…
x
Reference in New Issue
Block a user