Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc I've had it. Raise the barrier on committing unlint...



details:   https://anonhg.NetBSD.org/src/rev/47b1ad98cf77
branches:  trunk
changeset: 503459:47b1ad98cf77
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 06 18:47:09 2001 +0000

description:
I've had it. Raise the barrier on committing unlinted code. On the i386
make lint exit on warnings.

diffstat:

 lib/libc/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 24dc462f328a -r 47b1ad98cf77 lib/libc/Makefile
--- a/lib/libc/Makefile Tue Feb 06 17:01:51 2001 +0000
+++ b/lib/libc/Makefile Tue Feb 06 18:47:09 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.97 2001/01/25 09:21:57 itojun Exp $
+#      $NetBSD: Makefile,v 1.98 2001/02/06 18:47:09 christos Exp $
 #      @(#)Makefile    8.2 (Berkeley) 2/3/94
 #
 # All library objects contain sccsid strings by default; they may be
@@ -23,9 +23,13 @@
 CPPFLAGS+=     -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS \
                -D_REENTRANT -I${.CURDIR}/include
 CPPFLAGS+=     -DINET6
-# Set lint to exit on warnings and ignore 'empty translation unit' warnings.
-#LINTFLAGS+=   -w
-LINTFLAGS+=-X 272
+
+.if ${MACHINE_ARCH} == "i386"
+# Set lint to exit on warnings
+LINTFLAGS+=    -w
+.endif
+# ignore 'empty translation unit' warnings.
+LINTFLAGS+=    -X 272
 
 .if exists(${.CURDIR}/arch/${MACHINE_ARCH})
 ARCHSUBDIR=    ${MACHINE_ARCH}



Home | Main Index | Thread Index | Old Index