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/e558f4a464c0
branches:  trunk
changeset: 959626:e558f4a464c0
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 363610d05cb8 -r e558f4a464c0 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