Module Name:    src
Committed By:   rillig
Date:           Sat Feb 20 18:10:23 UTC 2021

Modified Files:
        src/usr.bin/xlint/lint1: Makefile

Log Message:
lint: document how to compile lint1 in debug mode


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/usr.bin/xlint/lint1/Makefile

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/lint1/Makefile
diff -u src/usr.bin/xlint/lint1/Makefile:1.61 src/usr.bin/xlint/lint1/Makefile:1.62
--- src/usr.bin/xlint/lint1/Makefile:1.61	Fri Feb 19 23:25:26 2021
+++ src/usr.bin/xlint/lint1/Makefile	Sat Feb 20 18:10:22 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.61 2021/02/19 23:25:26 rillig Exp $
+#	$NetBSD: Makefile,v 1.62 2021/02/20 18:10:22 rillig Exp $
 
 .include <bsd.own.mk>
 
@@ -17,6 +17,7 @@ YHEADER=
 CWARNFLAGS.clang+=	-Wno-error=implicit-int-float-conversion
 
 CPPFLAGS+=	-I${.CURDIR} -I. -DPASS=\"${PROG}.h\"
+CPPFLAGS+=	${DEBUG:D-DDEBUG}
 
 BINDIR=		/usr/libexec
 

Reply via email to