diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-07-28 18:10:17 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-07-28 18:10:17 +0000 |
commit | 67f057a1c952f8cc5ba0343670353ea7c4ac95a0 (patch) | |
tree | 0a729299d4dca135c45b66f1cfcd31732d79836b /usr.bin | |
parent | 39f2e5286071e89788d3f6c8156f1def23beda28 (diff) |
Build awk with -O1 on m88k for now; when built -O2, it would sporadically
exit early blaming a spurious '}' in the first few lines of input, but only
on 88100-based systems.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/awk/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile index 289b91de847..119a5089c11 100644 --- a/usr.bin/awk/Makefile +++ b/usr.bin/awk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2012/12/21 08:50:27 espie Exp $ +# $OpenBSD: Makefile,v 1.13 2013/07/28 18:10:16 miod Exp $ PROG= awk SRCS= ytab.c lex.c b.c main.c parse.c proctab.c tran.c lib.c run.c @@ -19,4 +19,8 @@ proctab.c: maketab maketab: ytab.h maketab.c ${HOSTCC} ${HOSTCFLAGS} ${.CURDIR}/maketab.c -o $@ +.if ${MACHINE_ARCH} == "m88k" +COPTS+= -O1 +.endif + .include <bsd.prog.mk> |