diff options
author | 2001-04-10 20:52:10 +0000 | |
---|---|---|
committer | 2001-04-10 20:52:10 +0000 | |
commit | 14d43eac345d8f471b8ae377ddb4f485144e8aab (patch) | |
tree | d832bad35bedd8bf59ba4214e1df376f150eec47 | |
parent | receive filter programming (diff) | |
download | wireguard-openbsd-14d43eac345d8f471b8ae377ddb4f485144e8aab.tar.xz wireguard-openbsd-14d43eac345d8f471b8ae377ddb4f485144e8aab.zip |
Disable optimization on sparc; ok deraadt@
If tape.c is compiled with -O or higher, dump runs on _some_ systems
will _sometimes_ become stuck. All five dump processes (tty, master,
slaves) will just sleep.
This has been observed on some sun4c and sun4m systems.
-rw-r--r-- | sbin/dump/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/dump/Makefile b/sbin/dump/Makefile index 61ea7bbd5aa..bb4980340f0 100644 --- a/sbin/dump/Makefile +++ b/sbin/dump/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 1998/02/08 19:24:05 deraadt Exp $ +# $OpenBSD: Makefile,v 1.10 2001/04/10 20:52:10 naddy Exp $ # dump.h header file # itime.c reads /etc/dumpdates @@ -18,4 +18,8 @@ SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c MAN= dump.8 MLINKS+=dump.8 rdump.8 +.if (${MACHINE_ARCH} == "sparc") +CFLAGS+= -O0 +.endif + .include <bsd.prog.mk> |