summaryrefslogtreecommitdiffstats
path: root/hack
diff options
context:
space:
mode:
Diffstat (limited to 'hack')
-rw-r--r--hack/Makefile7
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