Compile prog_execute.c with -fno-tree-ter on alpha (instead of -O0) to skirt

the ICE, until a fix is devised (insert annoyed comment about hairy tricky
bugs in the ``reload'' code here).
This commit is contained in:
miod 2011-12-03 15:36:21 +00:00
parent f8150aa148
commit e40bd9f548

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2011/11/29 14:57:54 naddy Exp $
# $OpenBSD: Makefile,v 1.13 2011/12/03 15:36:21 miod Exp $
MESA= ${.CURDIR}/../../../dist/Mesa/src/mesa
MAPI= ${.CURDIR}/../../../dist/Mesa/src/mapi
@ -354,8 +354,8 @@ cleandir: clean
.if ${MACHINE_ARCH} == alpha
# remove optimization flags to prevent gcc 4.2.1 ICE
prog_execute.so: prog_execute.c
@echo "${COMPILE.c:N-O*} ${PICFLAG} -DPIC ${.ALLSRC} -o ${.TARGET}"
@${COMPILE.c:N-O*} ${PICFLAG} -DPIC ${.ALLSRC} -o ${.TARGET}.o
@echo "${COMPILE.c} -fno-tree-ter ${PICFLAG} -DPIC ${.ALLSRC} -o ${.TARGET}"
@${COMPILE.c} -fno-tree-ter ${PICFLAG} -DPIC ${.ALLSRC} -o ${.TARGET}.o
@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
.endif