1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Append -mieee to CXXFLAGS when building on Alpha to avoid a segmentation fault

when building Qt.  This is being added for 4.10-RELEASE, and will be removed
immediately after tagging pending a qmake update to 3.3.2.

Submitted by:	lofi
Approved by:	portmgr (implicit)
		re (scottl)
This commit is contained in:
Joe Marcus Clarke 2004-05-13 04:09:45 +00:00
parent 4537fee41a
commit 75dafdac7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109044

View File

@ -42,6 +42,12 @@ post-install:
${CP} -Rp '${WRKSRC:H}/doc/html' '${DOCSDIR}'
.endif
.include <bsd.port.pre.mk>
.if ${ARCH}=="alpha"
CXXFLAGS+= -mieee
.endif
post-patch:
@${RM} -fr ${WRKSRC}/examples ${WRKSRC}/tutorial
@${REINPLACE_CMD} -e 's,-O2,${CXXFLAGS},' \
@ -63,4 +69,4 @@ do-configure:
${LN} ${WRKSRC}/qconfig.h ${WRKSRC}/qmodules.h
${LN} -s . ${WRKDIR}/${DISTNAME}/src/tools/private
.include <bsd.port.mk>
.include <bsd.port.post.mk>