summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-10 20:03:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-10 20:03:39 +0000
commit98d1d388214f4dd9c8cf4d8345a6a3569bc6adff (patch)
tree1bb9c6776b9311e1d9da0088d08542e3cbe2f0e4 /sys
parente73b4b7d1d70f6122a81c99f0d7fcb0417607095 (diff)
machine@; use -fomit-frame-pointer otherwise a bugarg in a6 gets trashed
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme68k/stand/bugcrt/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/stand/bugcrt/Makefile b/sys/arch/mvme68k/stand/bugcrt/Makefile
index ff083333abd..4cc94059476 100644
--- a/sys/arch/mvme68k/stand/bugcrt/Makefile
+++ b/sys/arch/mvme68k/stand/bugcrt/Makefile
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.4 1996/05/10 18:39:12 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1996/05/10 20:03:38 deraadt Exp $
-CFLAGS+=-I${.CURDIR}/../../include -O2
+CFLAGS+=-I${.OBJDIR} -O2 -fomit-frame-pointer
OBJS=bugcrt.o
-CLEANFILES+=a.out
+CLEANFILES+=a.out machine
-all: ${OBJS}
+all: machine ${OBJS}
bugcrt.o: bugcrt.c
${CC} ${CFLAGS} -c ${.ALLSRC}
@@ -17,4 +17,7 @@ install:
lint tags:
+machine:
+ rm -f machine; ln -s ${.CURDIR}/../../include machine
+
.include <bsd.prog.mk>