summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-05-26 13:52:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-05-26 13:52:59 +0000
commitcbfc74933876bce03bce3138d5d7bc7587d161d7 (patch)
tree2b8c24530b02a43a2ba897831fae988c5bbf00d7
parent867db52c52f621477e1e05eb824b07da3622b7f1 (diff)
Work-around: egcs ICE on m68k
-rw-r--r--usr.sbin/afs/ydr/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/afs/ydr/Makefile b/usr.sbin/afs/ydr/Makefile
index 5a138fb3149..6d15a9d4c88 100644
--- a/usr.sbin/afs/ydr/Makefile
+++ b/usr.sbin/afs/ydr/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 1999/02/15 04:20:42 art Exp $
+# $OpenBSD: Makefile,v 1.3 1999/05/26 13:52:58 espie Exp $
SRCS += main.c output.c symbol.c types.c lex.c parse.c
CLEANFILES += lex.c parse.c parse.h y.tab.h
CFLAGS += -I. -I${.CURDIR}/../src/util -I${.CURDIR}/../src/lib/roken \
@@ -21,4 +21,9 @@ y.tab.h: parse.c
lex.o: parse.h
+.if (${MACHINE_ARCH} == "m68k")
+output.o: output.c
+ ${CC} -c ${CFLAGS} -O1 ${.IMPSRC}
+.endif
+
.include <bsd.prog.mk>