Module Name:    src
Committed By:   roy
Date:           Tue Dec 21 15:27:19 UTC 2021

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

Log Message:
Fix build of xlint/line1 with OBJDIR set.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 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.87 src/usr.bin/xlint/lint1/Makefile:1.88
--- src/usr.bin/xlint/lint1/Makefile:1.87	Sun Sep  5 17:49:55 2021
+++ src/usr.bin/xlint/lint1/Makefile	Tue Dec 21 15:27:19 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.87 2021/09/05 17:49:55 rillig Exp $
+#	$NetBSD: Makefile,v 1.88 2021/12/21 15:27:19 roy Exp $
 
 .include <bsd.own.mk>
 
@@ -24,7 +24,7 @@ LINTFLAGS.scan.c+=	-X 192,214	# due to s
 LINTFLAGS.scan.c+=	-X 307		# static variable unused
 
 CPPFLAGS+=	-DIS_LINT1
-CPPFLAGS+=	-I${.CURDIR}
+CPPFLAGS+=	-I${.CURDIR} -I${.OBJDIR}
 CPPFLAGS+=	${DEBUG:D-DDEBUG -DYYDEBUG}
 
 COPTS.err.c+=	${${ACTIVE_CC} == "clang":? -Wno-format-nonliteral :}

Reply via email to