summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-02-17 07:52:39 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-02-17 07:52:39 +0000
commit4c5940ea5d4cdddeebbe80620dc153d2de1f259d (patch)
treeb867354fb2694a6f0e21d234e5e419908fc6ee16
parenta1ef0b2d8119682eb9360e7a1e2796d090378d42 (diff)
A couple temporary workarounds for vax toolchain bugs.
-rw-r--r--bin/csh/Makefile7
-rw-r--r--usr.bin/systat/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 392fdd5e055..68f6d674e71 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 1998/03/06 05:40:01 millert Exp $
+# $OpenBSD: Makefile,v 1.6 2002/02/17 07:52:38 hugh Exp $
#
# C Shell with process control; VM/UNIX VAX Makefile
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
@@ -21,6 +21,11 @@ MLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \
csh.1 stop.1 csh.1 source.1 csh.1 unlimit.1
CLEANFILES+=error.h const.h
+.if (${MACHINE_ARCH} == "vax")
+alloc.o:
+ ${CC} ${CFLAGS} ${CPPFLAGS} -O0 -c $<
+.endif
+
const.h: error.h
error.h: error.c
diff --git a/usr.bin/systat/Makefile b/usr.bin/systat/Makefile
index 05eb654dd6c..c9297af01e9 100644
--- a/usr.bin/systat/Makefile
+++ b/usr.bin/systat/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2001/06/27 07:13:39 art Exp $
+# $OpenBSD: Makefile,v 1.14 2002/02/17 07:52:38 hugh Exp $
PROG= systat
@@ -14,5 +14,10 @@ BINMODE=2555
CPPFLAGS+=-DINET6
+.if (${MACHINE_ARCH} == "vax")
+cmds.o:
+ ${CC} ${CFLAGS} ${CPPFLAGS} -O0 -c $<
+.endif
+
.include <bsd.prog.mk>