summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-02-27 21:07:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-02-27 21:07:41 +0000
commit81fdb83a12f19727dd8be91b072cb3fe4d6a3717 (patch)
tree5da031cfd5e64e87d095f911e2aea691059c2ddc
parente8045466715893979ea4e055971bd3cf29260fdd (diff)
Compile with -O1 on sh for now.
-rw-r--r--usr.bin/tic/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tic/Makefile b/usr.bin/tic/Makefile
index ba7d8275a52..21e206e8ed8 100644
--- a/usr.bin/tic/Makefile
+++ b/usr.bin/tic/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1999/12/12 08:02:10 millert Exp $
+# $OpenBSD: Makefile,v 1.4 2007/02/27 21:07:40 miod Exp $
PROG= tic
SRCS= dump_entry.c tic.c
@@ -10,6 +10,10 @@ CURSES= ${.CURDIR}/../../lib/libcurses
CFLAGS+= -I${CURSES} -I${.CURDIR} -I.
CLEANFILES+= termsort.c
+.if (${MACHINE_ARCH} == sh)
+COPTS+= -O1
+.endif
+
beforedepend: termsort.c
termsort.c: MKtermsort.sh