Ugly ugly... compile with -O0 on sparc64 to avoid random sig11's gmake gets

ok todd
This commit is contained in:
pvalchev 2002-01-30 19:26:25 +00:00
parent 0a416bbdfe
commit 32f34da23c

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2001/10/11 11:53:57 brad Exp $
# $OpenBSD: Makefile,v 1.24 2002/01/30 19:26:25 pvalchev Exp $
COMMENT= "GNU make"
DISTNAME= make-3.79.1
@ -25,6 +25,11 @@ CONFIGURE_ARGS= --program-prefix="g"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# XXX workaround sparc64 gcc optimization bug
.if ${MACHINE_ARCH:Msparc64}
CFLAGS+= -O0
.endif
post-extract:
@rm -f ${WRKSRC}/make.info*