summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-10 02:43:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-10 02:43:49 +0000
commitcba9cfbdcbecce515d4d2e2352277f09109ae94c (patch)
treef0da59b0227234db7184be5211f6f199dfa86728
parent25fb21e2c0439fbcc1b1df3fbd1984941e980d94 (diff)
XXX: build ksh -O0 for now, since it makes it a whole lot more stable.
we'll figure out what the bug is later, or maybe some of the other fixes going in will fix it..
-rw-r--r--bin/ksh/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ksh/Makefile b/bin/ksh/Makefile
index 4c2077fa403..edb033a30c9 100644
--- a/bin/ksh/Makefile
+++ b/bin/ksh/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2004/01/09 17:10:07 brad Exp $
+# $OpenBSD: Makefile,v 1.17 2004/02/10 02:43:48 deraadt Exp $
PROG= ksh
SRCS= alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c \
@@ -10,6 +10,10 @@ DEFS= -DHAVE_CONFIG_H -Wall -Wno-unused
CFLAGS+=${DEFS} -I. -I${.CURDIR} -DKSH
MAN= ksh.1 sh.1
+.if (${MACHINE} == "amd64")
+CFLAGS+=-O0
+.endif
+
CLEANFILES+= siglist.out emacs.out
LINKS= ${BINDIR}/ksh ${BINDIR}/rksh