-# $NetBSD: Makefile,v 1.5 2006/05/11 23:16:28 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2008/07/12 12:31:20 gmcgarry Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= bcd
.include <bsd.prog.mk>
-.if ${HAVE_GCC} == 4
-COPTS+= -Wno-pointer-sign
+.if ${HAVE_GCC} == 4 || defined(HAVE_PCC)
+COPTS.bcd.c+= -Wno-pointer-sign
.endif
-# $NetBSD: Makefile,v 1.5 2006/05/11 23:16:28 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2008/07/12 12:31:20 gmcgarry Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= pom
.include <bsd.prog.mk>
-.if ${HAVE_GCC} == 4
-COPTS+= -Wno-pointer-sign
+.if ${HAVE_GCC} == 4 || defined(HAVE_PCC)
+COPTS.pom.c+= -Wno-pointer-sign
.endif