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: remove custom LINTFLAGS



details:   https://anonhg.NetBSD.org/src/rev/79f3c72ade7a
branches:  trunk
changeset: 1017603:79f3c72ade7a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Jan 01 14:51:44 2021 +0000

description:
lint: remove custom LINTFLAGS

These flags are missing the options -g (GNUisms) and -S (C9X mode).
Without these flags, NetBSD's system headers cannot be compiled as they
make heavy use of __inline and __attribute__.

diffstat:

 usr.bin/xlint/lint1/Makefile |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 19d74b07972a -r 79f3c72ade7a usr.bin/xlint/lint1/Makefile
--- a/usr.bin/xlint/lint1/Makefile      Fri Jan 01 14:11:20 2021 +0000
+++ b/usr.bin/xlint/lint1/Makefile      Fri Jan 01 14:51:44 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.53 2019/11/11 22:45:32 joerg Exp $
+#      $NetBSD: Makefile,v 1.54 2021/01/01 14:51:44 rillig Exp $
 
 .include <bsd.own.mk>
 
@@ -17,7 +17,6 @@
 
 CPPFLAGS+=     -I${.CURDIR} -I. -DPASS=\"${PROG}.h\"
 
-LINTFLAGS=     -aehpz
 BINDIR=                /usr/libexec
 
 CLEANFILES+=   ${MAN}



Home | Main Index | Thread Index | Old Index