use -Wno-pointer-sign with GCC4.

This commit is contained in:
mrg 2006-05-12 01:54:57 +00:00
parent 132e581078
commit e13fd87f5f
3 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2004/05/23 02:24:52 lukem Exp $
# $NetBSD: Makefile,v 1.10 2006/05/12 01:54:57 mrg Exp $
MKPRIVATELIB= yes
@ -13,3 +13,7 @@ version.c: VERSION
sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c
.include <bsd.lib.mk>
.if ${HAVE_GCC} == 4
COPTS.print.c+= -Wno-pointer-sign
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 1999/06/06 03:21:43 thorpej Exp $
# $NetBSD: Makefile,v 1.9 2006/05/12 01:54:57 mrg Exp $
PROG= mopd
SRCS= mopd.c process.c
@ -8,3 +8,7 @@ LDADD+= -lutil
DPADD+= ${LIBUTIL}
.include <bsd.prog.mk>
.if ${HAVE_GCC} == 4
COPTS.process.c+= -Wno-pointer-sign
.endif

View File

@ -1,5 +1,9 @@
# $NetBSD: Makefile,v 1.6 1997/10/16 07:37:04 lukem Exp $
# $NetBSD: Makefile,v 1.7 2006/05/12 01:54:57 mrg Exp $
PROG= mopprobe
.include <bsd.prog.mk>
.if ${HAVE_GCC} == 4
COPTS+= -Wno-pointer-sign
.endif