summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhugh <hugh@openbsd.org>2002-02-17 07:52:38 +0000
committerhugh <hugh@openbsd.org>2002-02-17 07:52:38 +0000
commit133ee8dc0a669777a36997ff5869a9c5ff27d2eb (patch)
tree4b2de0c7cd38483bd85d1e9972dfbdf37cb54685
parentGet gdb (mostly) working on vax. Work by bjc@. (diff)
downloadwireguard-openbsd-133ee8dc0a669777a36997ff5869a9c5ff27d2eb.tar.xz
wireguard-openbsd-133ee8dc0a669777a36997ff5869a9c5ff27d2eb.zip
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>