summaryrefslogtreecommitdiffstats
path: root/bcd
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry@NetBSD.org>2008-08-29 00:02:21 +0000
committergmcgarry <gmcgarry@NetBSD.org>2008-08-29 00:02:21 +0000
commit81d16a33668f3e92a43b498652938b55ab95145a (patch)
treec6925b1da0cd78e647e771b131483957af1a1180 /bcd
parent8218dc5ff267a1066f10d1dc24a259770c7e1257 (diff)
downloadbsdgames-darwin-81d16a33668f3e92a43b498652938b55ab95145a.tar.gz
bsdgames-darwin-81d16a33668f3e92a43b498652938b55ab95145a.tar.zst
bsdgames-darwin-81d16a33668f3e92a43b498652938b55ab95145a.zip
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
Diffstat (limited to 'bcd')
-rw-r--r--bcd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bcd/Makefile b/bcd/Makefile
index a68c5d0d..0dddf59c 100644
--- a/bcd/Makefile
+++ b/bcd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/07/12 12:31:20 gmcgarry Exp $
+# $NetBSD: Makefile,v 1.7 2008/08/29 00:02:22 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 || defined(HAVE_PCC)
+.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
COPTS.bcd.c+= -Wno-pointer-sign
.endif