diff --git a/lib/libbz2/Makefile b/lib/libbz2/Makefile index a8172f292e04..3d5336fd8c0e 100644 --- a/lib/libbz2/Makefile +++ b/lib/libbz2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2002/08/19 09:41:28 lukem Exp $ +# $NetBSD: Makefile,v 1.10 2006/05/21 03:34:57 mrg Exp $ NOMAN= # defined @@ -21,6 +21,12 @@ CLEANFILES+= bzip2.texi COPTS+= -O0 .endif +# XXX blocksort.c gets mis-compiled with 4.1 +.if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \ + ${HAVE_GCC} == 4 +COPTS.blocksort.c+= -O0 +.endif + bzip2.texi: manual.texi @-rm -f $@ sed -e 's/@parindent.*//' \