mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-01-13 15:18:04 +00:00
use -Wno-pointer-sign with GCC4.
This commit is contained in:
parent
64f5cca084
commit
2d66b4f2c1
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user