]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.
authorgmcgarry <gmcgarry@NetBSD.org>
Sat, 12 Jul 2008 12:29:42 +0000 (12:29 +0000)
committergmcgarry <gmcgarry@NetBSD.org>
Sat, 12 Jul 2008 12:29:42 +0000 (12:29 +0000)
bcd/Makefile
pom/Makefile

index 677c2b37117438223a226993a2132ca668bdd4bf..a68c5d0d4e0d9e8aeac8734b49c9f25ccd05074c 100644 (file)
@@ -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
index cdf8628988167c4666290a17d399f52590ddbabb..a6b3665e94c8fcc7453af25bf4a5b706f2ac9a2c 100644 (file)
@@ -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