=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tic/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/tic/Makefile 2011/06/23 22:46:12 1.5 --- src/usr.bin/tic/Makefile 2012/09/02 03:55:46 1.6 *************** *** 1,4 **** ! # $OpenBSD: Makefile,v 1.5 2011/06/23 22:46:12 schwarze Exp $ PROG= tic SRCS= dump_entry.c tic.c --- 1,4 ---- ! # $OpenBSD: Makefile,v 1.6 2012/09/02 03:55:46 deraadt Exp $ PROG= tic SRCS= dump_entry.c tic.c *************** *** 10,17 **** CFLAGS+= -I${CURSES} -I${.CURDIR} -I. CLEANFILES+= termsort.c captoinfo.1 .if (${MACHINE_ARCH} == sh) ! COPTS+= -O1 .endif beforedepend: termsort.c --- 10,18 ---- CFLAGS+= -I${CURSES} -I${.CURDIR} -I. CLEANFILES+= termsort.c captoinfo.1 + # Work around gcc optimization bug on sh .if (${MACHINE_ARCH} == sh) ! COPTS+= -O0 .endif beforedepend: termsort.c