Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/dhcp Don't use -Dlint when compiling to get rid of ...



details:   https://anonhg.NetBSD.org/src/rev/0a0a15467bbe
branches:  trunk
changeset: 532863:0a0a15467bbe
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sun Jun 16 21:40:03 2002 +0000

description:
Don't use -Dlint when compiling to get rid of unused copyright strings,
use -Wno-unused to get rid of the warning instead.
XXX This is not the right way either, but at least it compiles on ppc now.

diffstat:

 usr.sbin/dhcp/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f05b8954bddc -r 0a0a15467bbe usr.sbin/dhcp/Makefile.inc
--- a/usr.sbin/dhcp/Makefile.inc        Sun Jun 16 21:03:36 2002 +0000
+++ b/usr.sbin/dhcp/Makefile.inc        Sun Jun 16 21:40:03 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.16 2002/06/10 00:30:33 itojun Exp $
+# $NetBSD: Makefile.inc,v 1.17 2002/06/16 21:40:03 augustss Exp $
 
 WARNS?=        1
 
@@ -12,7 +12,7 @@
 MROBJDIR!=cd $(.CURDIR)/../minires && ${PRINTOBJDIR}
 DSTOBJDIR!=cd $(.CURDIR)/../dst && ${PRINTOBJDIR}
 
-CPPFLAGS+= -I${DIST} -I${DIST}/includes -Dlint
+CPPFLAGS+= -I${DIST} -I${DIST}/includes -Wno-unused
 LDADD+= ${COBJDIR}/libdhcp.a ${MROBJDIR}/libminires.a
 LDADD+= ${OMOBJDIR}/libomapi.a ${DSTOBJDIR}/libdst.a
 DPADD+= ${COBJDIR}/libdhcp.a ${MROBJDIR}/libminires.a



Home | Main Index | Thread Index | Old Index