summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-06-10 19:02:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-06-10 19:02:17 +0000
commita1ecbfdff98ce3ca771995b1321d3cf2830fdb30 (patch)
tree792d264ff57bb9b41a9abad881067f7751dc82c7 /sbin
parent75b1c2f73e7d846ae313fc88845832e14f0e4e9b (diff)
Work around an uncovered gcc problem on m88k until it receives proper cure.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/pfctl/Makefile b/sbin/pfctl/Makefile
index 3ee1b93c3ec..6ff9790605b 100644
--- a/sbin/pfctl/Makefile
+++ b/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2004/03/10 18:49:49 mcbride Exp $
+# $OpenBSD: Makefile,v 1.16 2004/06/10 19:02:16 miod Exp $
PROG= pfctl
SRCS= pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
@@ -12,3 +12,11 @@ LDADD+= -lm
DPADD+= ${LIBM}
.include <bsd.prog.mk>
+
+# XXX
+.if (${MACHINE_ARCH} == "m88k")
+parse.o: parse.y
+ ${YACC.y} ${.IMPSRC}
+ ${COMPILE.c} -fno-schedule-insns2 -o ${.TARGET} y.tab.c
+ rm -f y.tab.c
+.endif