sparc64 gcc optimization bug temporary workaround with -O0; ok brad

This commit is contained in:
pvalchev 2002-01-27 20:00:16 +00:00
parent f959b10f27
commit 3eff50408a

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.40 2001/10/31 16:49:46 brad Exp $ # $OpenBSD: Makefile,v 1.41 2002/01/27 20:00:16 pvalchev Exp $
COMMENT= "block-sorting file compressor, unencumbered" COMMENT= "block-sorting file compressor, unencumbered"
@ -22,6 +22,11 @@ BZ2_CFLAGS= -Wall -Winline
BZ2_CFLAGS+= -fomit-frame-pointer -fno-strength-reduce BZ2_CFLAGS+= -fomit-frame-pointer -fno-strength-reduce
.endif .endif
# XXX gcc optimization bug temporary workaround
.if ${MACHINE_ARCH:Msparc64}
BZ2_CFLAGS+= -O0
.endif
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${BZ2_CFLAGS}" MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${BZ2_CFLAGS}"
FAKE_FLAGS= ${MAKE_FLAGS} PREFIX="${PREFIX}" DESTDIR="${WRKINST}" FAKE_FLAGS= ${MAKE_FLAGS} PREFIX="${PREFIX}" DESTDIR="${WRKINST}"
REGRESS_FLAGS= LD_LIBRARY_PATH="${WRKBUILD}" REGRESS_FLAGS= LD_LIBRARY_PATH="${WRKBUILD}"