summaryrefslogtreecommitdiff
path: root/bin/ed
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry@NetBSD.org>2008-07-12 12:29:42 +0000
committergmcgarry <gmcgarry@NetBSD.org>2008-07-12 12:29:42 +0000
commit686556951e21dcb0e25a404b8c0fd40dbb997f95 (patch)
treecac6011e05a5f9060065df1c2ba662ebfba9c496 /bin/ed
parent396359b261e8ce351ef0eff845a77f554f31c0bc (diff)
Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index a37fec31270..0051079b0a8 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2006/05/11 23:16:28 mrg Exp $
+# $NetBSD: Makefile,v 1.34 2008/07/12 12:30:22 gmcgarry Exp $
.include <bsd.own.mk>
@@ -17,7 +17,7 @@ DPADD+= ${LIBCRYPT}
#LINKS= ${BINDIR}/ed ${BINDIR}/red
#MLINKS= ed.1 red.1
-.if ${HAVE_GCC} == 4
+.if ${HAVE_GCC} == 4 || defined(HAVE_PCC)
COPTS.cbc.c+= -Wno-pointer-sign
.endif