summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-06-22 18:52:52 +0000
committermiod <miod@openbsd.org>2013-06-22 18:52:52 +0000
commit0c7617d5818396e6bf4086345c3ff7f1f542034a (patch)
treec59649c742e07de4021f3c8bce06f30f8e9fd03a
parentCalculate sha256 sums for miniroots. (diff)
downloadwireguard-openbsd-0c7617d5818396e6bf4086345c3ff7f1f542034a.tar.xz
wireguard-openbsd-0c7617d5818396e6bf4086345c3ff7f1f542034a.zip
Tweak optimization flags on landisk until I have time to investigate further.
-rw-r--r--usr.bin/vi/build/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/vi/build/Makefile b/usr.bin/vi/build/Makefile
index efdd218c665..1c7e3b28bd0 100644
--- a/usr.bin/vi/build/Makefile
+++ b/usr.bin/vi/build/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2012/12/20 20:28:12 naddy Exp $
+# $OpenBSD: Makefile,v 1.18 2013/06/22 18:52:52 miod Exp $
# @(#)Makefile.in 8.75 (Berkeley) 10/23/96
PROG= vi
@@ -19,6 +19,11 @@ DPADD+= ${LIBCURSES}
LDADD+=-lutil
DPADD+= ${LIBUTIL}
+# incorrect code in vs_msg()
+.if ${MACHINE_ARCH} == "sh"
+CFLAGS+= -fno-tree-dominator-opts
+.endif
+
SRCS= cl_bsd.c cl_funcs.c cl_main.c cl_read.c cl_screen.c cl_term.c \
cut.c delete.c ex.c ex_abbrev.c ex_append.c ex_args.c ex_argv.c \
ex_at.c ex_bang.c ex_cd.c ex_cmd.c ex_cscope.c ex_delete.c \