diff options
author | 2013-07-28 18:10:16 +0000 | |
---|---|---|
committer | 2013-07-28 18:10:16 +0000 | |
commit | b1fe86cb47b67c7f35fce7534955b8ccb10d7ee4 (patch) | |
tree | 89c7e10aff3abb6ff5a058ea40c6e3aca802c7e2 | |
parent | Let mkuboot recognize native ELF binaries and only output the program headers (diff) | |
download | wireguard-openbsd-b1fe86cb47b67c7f35fce7534955b8ccb10d7ee4.tar.xz wireguard-openbsd-b1fe86cb47b67c7f35fce7534955b8ccb10d7ee4.zip |
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.
-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> |