diff --git a/common/Makefile b/common/Makefile index 80633b6..241a0a4 100644 --- a/common/Makefile +++ b/common/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2008/05/03 14:48:32 lukem Exp $ +# $NetBSD: Makefile,v 1.12 2008/08/29 00:02:25 gmcgarry Exp $ LIBISPRIVATE= yes @@ -14,6 +14,6 @@ version.c: VERSION .include -.if ${HAVE_GCC} == 4 +.if defined(HAVE_GCC) && ${HAVE_GCC} == 4 || defined(HAVE_PCC) COPTS.print.c+= -Wno-pointer-sign .endif diff --git a/mopd/Makefile b/mopd/Makefile index 26b55e4..0ed1d10 100644 --- a/mopd/Makefile +++ b/mopd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/05/12 01:54:57 mrg Exp $ +# $NetBSD: Makefile,v 1.10 2008/08/29 00:02:25 gmcgarry Exp $ PROG= mopd SRCS= mopd.c process.c @@ -9,6 +9,6 @@ DPADD+= ${LIBUTIL} .include -.if ${HAVE_GCC} == 4 +.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC) COPTS.process.c+= -Wno-pointer-sign .endif diff --git a/mopprobe/Makefile b/mopprobe/Makefile index 05fdc5b..04ed629 100644 --- a/mopprobe/Makefile +++ b/mopprobe/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.7 2006/05/12 01:54:57 mrg Exp $ +# $NetBSD: Makefile,v 1.8 2008/08/29 00:02:25 gmcgarry Exp $ PROG= mopprobe .include -.if ${HAVE_GCC} == 4 -COPTS+= -Wno-pointer-sign +.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC) +COPTS.mopprobe.c+= -Wno-pointer-sign .endif