XXX workaround gcc bugs on sparc64 by compiling everything at -O0

otherwise bison would get random sig11's
This commit is contained in:
pvalchev 2002-02-10 19:55:59 +00:00
parent 951a1f0d6a
commit 16671950f6

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 2002/01/26 00:15:06 brad Exp $
# $OpenBSD: Makefile,v 1.26 2002/02/10 19:55:59 pvalchev Exp $
COMMENT= "GNU parser generator"
@ -21,6 +21,11 @@ PERMIT_DISTFILES_FTP= Yes
MAKE_ENV= MAKEINFOFLAGS="--no-split"
# XXX workaround gcc bugs on sparc64
.if ${MACHINE_ARCH:Msparc64}
CFLAGS+= -O0
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"