use -Wno-pointer-sign with GCC4.

This commit is contained in:
mrg
2006-05-12 01:54:57 +00:00
parent 64f5cca084
commit 2d66b4f2c1
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