summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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