From 51e440b3e3e2ddd312026d6e2665b8c197b358f5 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Fri, 16 May 2008 13:13:00 +0000 Subject: [PATCH] Use -fno-loop-optimize rather than -O0 for gcc4-sh3-bz2 hack. --- lib/libbz2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libbz2/Makefile b/lib/libbz2/Makefile index f69e592aeda8..06b46334f193 100644 --- a/lib/libbz2/Makefile +++ b/lib/libbz2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/03/18 14:48:39 christos Exp $ +# $NetBSD: Makefile,v 1.13 2008/05/16 13:13:00 tsutsui Exp $ USE_FORT?= yes # data driven bugs? @@ -23,7 +23,7 @@ COPTS+= -O0 # XXX blocksort.c gets mis-compiled with 4.1 .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \ ${HAVE_GCC} == 4 -COPTS.blocksort.c+= -O0 +COPTS.blocksort.c+= -fno-loop-optimize .endif .if ${MKSHARE} != "no"