Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint2 lint: fix LINTFLAGS for lint2
details: https://anonhg.NetBSD.org/src/rev/79ab69dd1e33
branches: trunk
changeset: 949750:79ab69dd1e33
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Jan 16 00:09:28 2021 +0000
description:
lint: fix LINTFLAGS for lint2
These have never worked since they report a syntax error in
<sys/cdefs.h> just because there is an __inline over there.
I wonder why it has been necessary at all to have custom LINTFLAGS for
lint itself. It's just an ordinary program.
diffstat:
usr.bin/xlint/lint2/Makefile | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 7cc1244f821b -r 79ab69dd1e33 usr.bin/xlint/lint2/Makefile
--- a/usr.bin/xlint/lint2/Makefile Fri Jan 15 23:58:18 2021 +0000
+++ b/usr.bin/xlint/lint2/Makefile Sat Jan 16 00:09:28 2021 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.17 2006/10/08 17:52:29 peter Exp $
+# $NetBSD: Makefile,v 1.18 2021/01/16 00:09:28 rillig Exp $
NOMAN= # defined
PROG= lint2
SRCS= main2.c hash.c read.c mem.c mem2.c chk.c msg.c emit.c emit2.c \
inittyp.c tyname.c
-LINTFLAGS= -abehrz
BINDIR= /usr/libexec
CPPFLAGS+= -DPASS=\"${PROG}.h\" -I${.CURDIR}
Home |
Main Index |
Thread Index |
Old Index