diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-03-13 17:35:14 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-03-13 17:35:14 +0000 |
commit | b497d68cd34dd59a1766a1353c9ef896585a56ca (patch) | |
tree | 22e5865eee50f7921014f69a66bbd6d44af6ad35 /usr.bin | |
parent | a8a50b52c2eff6d334e632fdbac25b5e1c391b17 (diff) |
Work around gcc optimization bug on sh (landisk). From otto@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/sort/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/sort/Makefile b/usr.bin/sort/Makefile index c4978fdb619..756a1e7479e 100644 --- a/usr.bin/sort/Makefile +++ b/usr.bin/sort/Makefile @@ -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 <bsd.prog.mk> |