From d149b63903bb1ba899975d53b8a1a522a91c9921 Mon Sep 17 00:00:00 2001 From: gmcgarry Date: Sat, 12 Jul 2008 12:29:42 +0000 Subject: Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags. --- bcd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bcd') 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 -.if ${HAVE_GCC} == 4 -COPTS+= -Wno-pointer-sign +.if ${HAVE_GCC} == 4 || defined(HAVE_PCC) +COPTS.bcd.c+= -Wno-pointer-sign .endif -- cgit v1.2.3-56-ge451