From a1ecbfdff98ce3ca771995b1321d3cf2830fdb30 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 10 Jun 2004 19:02:17 +0000 Subject: Work around an uncovered gcc problem on m88k until it receives proper cure. --- sbin/pfctl/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 + +# 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 -- cgit v1.2.3