Module Name: src Committed By: rillig Date: Sat Apr 9 22:26:49 UTC 2022
Modified Files: src/usr.bin/xlint: Makefile.inc Log Message: lint: ensure that lint itself compiles without lint warnings It would be a pity if lint didn't even survive its own style checks. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/xlint/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/xlint/Makefile.inc diff -u src/usr.bin/xlint/Makefile.inc:1.21 src/usr.bin/xlint/Makefile.inc:1.22 --- src/usr.bin/xlint/Makefile.inc:1.21 Fri Apr 8 21:48:19 2022 +++ src/usr.bin/xlint/Makefile.inc Sat Apr 9 22:26:49 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.21 2022/04/08 21:48:19 rillig Exp $ +# $NetBSD: Makefile.inc,v 1.22 2022/04/09 22:26:49 rillig Exp $ .include <bsd.own.mk> @@ -24,3 +24,5 @@ CFLAGS+= ${ACTIVE_CC:Mgcc:%=-ftrapv} .if exists(${.CURDIR}/../../Makefile.inc) .include "${.CURDIR}/../../Makefile.inc" .endif + +LINTFLAGS+= -w # treat warnings as errors