git: 5be78ccf7a8a - main - src.sys.mk: Allow DEFAULTWARNS to be overridden.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Aug 2025 21:34:40 UTC
The branch main has been updated by bdrewery:
URL: https://cgit.FreeBSD.org/src/commit/?id=5be78ccf7a8af3ec27c29ab26d2f5f70bd6ff89f
commit 5be78ccf7a8af3ec27c29ab26d2f5f70bd6ff89f
Author: Bryan Drewery <bdrewery@FreeBSD.org>
AuthorDate: 2025-08-15 15:20:45 +0000
Commit: Bryan Drewery <bdrewery@FreeBSD.org>
CommitDate: 2025-08-19 21:34:10 +0000
src.sys.mk: Allow DEFAULTWARNS to be overridden.
Sponsored by: Dell, Inc.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D51921
---
share/mk/src.sys.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/mk/src.sys.mk b/share/mk/src.sys.mk
index d5c2af0c559d..2b9fc255a26d 100644
--- a/share/mk/src.sys.mk
+++ b/share/mk/src.sys.mk
@@ -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