[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / sort

File: [local] / src / usr.bin / sort / Makefile (download)

Revision 1.4, Mon Sep 10 04:03:34 2012 UTC (11 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +2 -2 lines

The gcc-sh-register-allocator bug may never be fixed.  When we move to
PIE, the -O1 workarounds must be -O0.  check out sort/tmp.c to see how
incredibly bad the bug is.
ok miod

#	$OpenBSD: Makefile,v 1.4 2012/09/10 04:03:34 deraadt 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+= -O0
.endif

.include <bsd.prog.mk>