diff options
Diffstat (limited to 'share/mk/bsd.kern.mk')
-rw-r--r-- | share/mk/bsd.kern.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk new file mode 100644 index 0000000..0236123 --- /dev/null +++ b/share/mk/bsd.kern.mk @@ -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. +# |