=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sort/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/sort/Makefile 1997/09/21 11:50:57 1.2 +++ src/usr.bin/sort/Makefile 2007/03/13 17:35:13 1.3 @@ -1,6 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 1997/09/21 11:50:57 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 2007/03/13 17:35:13 millert Exp $ PROG= sort SRCS= append.c fields.c files.c fsort.c init.c msort.c sort.c tmp.c + +# Work around gcc optimization bug on sh +.if (${MACHINE_ARCH} == sh) +COPTS+= -O1 +.endif .include