HardenedBSD/share/mk/bsd.kern.mk

16 lines
439 B
Makefile
Raw Normal View History

# $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.
#