mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 12:02:01 +01:00
16 lines
439 B
Makefile
16 lines
439 B
Makefile
|
# $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.
|
||
|
#
|