summaryrefslogtreecommitdiffstats
path: root/pom
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry@NetBSD.org>2008-07-12 12:29:42 +0000
committergmcgarry <gmcgarry@NetBSD.org>2008-07-12 12:29:42 +0000
commitd149b63903bb1ba899975d53b8a1a522a91c9921 (patch)
tree900f08aca1c29fe4b862236f99928400cba1e2f1 /pom
parentd442de93a765ff9f871edd00dc51bbf6c842f5bd (diff)
downloadbsdgames-darwin-d149b63903bb1ba899975d53b8a1a522a91c9921.tar.gz
bsdgames-darwin-d149b63903bb1ba899975d53b8a1a522a91c9921.tar.zst
bsdgames-darwin-d149b63903bb1ba899975d53b8a1a522a91c9921.zip
Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.
Diffstat (limited to 'pom')
-rw-r--r--pom/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pom/Makefile b/pom/Makefile
index cdf86289..a6b3665e 100644
--- a/pom/Makefile
+++ b/pom/Makefile
@@ -1,4 +1,4 @@
-# $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
@@ -8,6 +8,6 @@ LDADD= -lm
.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