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 /hack | |
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 'hack')
-rw-r--r-- | hack/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hack/Makefile b/hack/Makefile index a84500b2..fe787747 100644 --- a/hack/Makefile +++ b/hack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2006/02/25 11:56:51 simonb Exp $ +# $NetBSD: Makefile,v 1.41 2008/08/29 00:02:22 gmcgarry Exp $ # @(#)Makefile 8.2 (Berkeley) 4/27/95 .include <bsd.own.mk> @@ -37,6 +37,11 @@ makedefs: makedefs.lo hack.h: hack.onames.h +.if defined(HAVE_PCC) +COPTS.hack.bones.c+= -Wno-shadow +COPTS.hack.do.c+= -Wno-shadow +.endif + .if !exists(${DESTDIR}${FILESDIR}/perm) afterinstall: clobber .endif |