Module Name:    src
Committed By:   rillig
Date:           Sat Jan 16 00:09:28 UTC 2021

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/xlint/lint2/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/lint2/Makefile
diff -u src/usr.bin/xlint/lint2/Makefile:1.17 src/usr.bin/xlint/lint2/Makefile:1.18
--- src/usr.bin/xlint/lint2/Makefile:1.17	Sun Oct  8 17:52:29 2006
+++ src/usr.bin/xlint/lint2/Makefile	Sat Jan 16 00:09:28 2021
@@ -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}
 

Reply via email to