src.sys.mk: Allow DEFAULTWARNS to be overridden.

Sponsored by:	Dell, Inc.
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D51921
This commit is contained in:
Bryan Drewery 2025-08-15 08:20:45 -07:00
parent f892e509c1
commit 5be78ccf7a

View file

@ -42,7 +42,7 @@ CFLAGS+= ${CFCOMMONFLAG}
CFLAGS+= -fmacro-prefix-map=${SRCTOP}=/usr/src -fdebug-prefix-map=${SRCTOP}=/usr/src
.endif
DEFAULTWARNS= 6
DEFAULTWARNS?= 6
# tempting, but bsd.compiler.mk causes problems this early
# probably need to remove dependence on bsd.own.mk