mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01:00
16 lines
503 B
Makefile
16 lines
503 B
Makefile
# $Id: bsd.kern.mk,v 1.7 1997/10/21 10:36:07 bde Exp $
|
|
|
|
#
|
|
# Warning flags for compiling the kernel and components of the kernel.
|
|
#
|
|
CWARNFLAGS?= -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
|
|
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
|
|
-Wpointer-arith -Winline -Wuninitialized
|
|
#
|
|
# The following flags are next up for working on:
|
|
# -W -Wunused -Wcast-qual -Wformat -Wall
|
|
#
|
|
# When working on removing warnings from code, the `-Werror' flag should be
|
|
# of material assistance.
|
|
#
|