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 Fix build of xlint/line1 with OBJDIR set.
details: https://anonhg.NetBSD.org/src/rev/39f66fd47384
branches: trunk
changeset: 1029100:39f66fd47384
user: roy <roy%NetBSD.org@localhost>
date: Tue Dec 21 15:27:19 2021 +0000
description:
Fix build of xlint/line1 with OBJDIR set.
diffstat:
usr.bin/xlint/lint1/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r bc8d3cdb0083 -r 39f66fd47384 usr.bin/xlint/lint1/Makefile
--- a/usr.bin/xlint/lint1/Makefile Tue Dec 21 15:24:28 2021 +0000
+++ b/usr.bin/xlint/lint1/Makefile Tue Dec 21 15:27:19 2021 +0000
@@ -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 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 :}
Home |
Main Index |
Thread Index |
Old Index