summaryrefslogtreecommitdiffstats
path: root/bcd
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 /bcd
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 'bcd')
-rw-r--r--bcd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/bcd/Makefile b/bcd/Makefile
index 677c2b37..a68c5d0d 100644
--- a/bcd/Makefile
+++ b/bcd/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= bcd
@@ -8,6 +8,6 @@ HIDEGAME=hidegame
.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