Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/lint1 lint: document how to compile lint1 in d...



details:   https://anonhg.NetBSD.org/src/rev/6400dd230c22
branches:  trunk
changeset: 952889:6400dd230c22
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Feb 20 18:10:22 2021 +0000

description:
lint: document how to compile lint1 in debug mode

diffstat:

 usr.bin/xlint/lint1/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 51192c1d220f -r 6400dd230c22 usr.bin/xlint/lint1/Makefile
--- a/usr.bin/xlint/lint1/Makefile      Sat Feb 20 18:04:20 2021 +0000
+++ b/usr.bin/xlint/lint1/Makefile      Sat Feb 20 18:10:22 2021 +0000
@@ -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 @@
 CWARNFLAGS.clang+=     -Wno-error=implicit-int-float-conversion
 
 CPPFLAGS+=     -I${.CURDIR} -I. -DPASS=\"${PROG}.h\"
+CPPFLAGS+=     ${DEBUG:D-DDEBUG}
 
 BINDIR=                /usr/libexec
 



Home | Main Index | Thread Index | Old Index