diff options
author | gmcgarry <gmcgarry@NetBSD.org> | 2008-08-29 00:02:21 +0000 |
---|---|---|
committer | gmcgarry <gmcgarry@NetBSD.org> | 2008-08-29 00:02:21 +0000 |
commit | 81d16a33668f3e92a43b498652938b55ab95145a (patch) | |
tree | c6925b1da0cd78e647e771b131483957af1a1180 /pom | |
parent | 8218dc5ff267a1066f10d1dc24a259770c7e1257 (diff) | |
download | bsdgames-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 'pom')
-rw-r--r-- | pom/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pom/Makefile b/pom/Makefile index a6b3665e..159ba921 100644 --- a/pom/Makefile +++ b/pom/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= pom @@ -8,6 +8,6 @@ LDADD= -lm .include <bsd.prog.mk> -.if ${HAVE_GCC} == 4 || defined(HAVE_PCC) +.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC) COPTS.pom.c+= -Wno-pointer-sign .endif |