summaryrefslogtreecommitdiff
path: root/bin/csh
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 /bin/csh
parenta1ef0b2d8119682eb9360e7a1e2796d090378d42 (diff)
A couple temporary workarounds for vax toolchain bugs.
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/Makefile7
1 files changed, 6 insertions, 1 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