Fix on ia64 by removing the -fno-unit-at-a-time flag.

Reported by:	Kris via pointyhat
Submitted by:	maintainer
This commit is contained in:
Thierry Thomas 2005-06-07 19:59:56 +00:00
parent 757a9b222f
commit 8e07c91a4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137007

View File

@ -27,9 +27,14 @@ MAKE_ENV= NOPORTDOCS=yes
PORTDOCS= LICENSE README NEWS
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|-pipe||; s|-fmerge-constants||; s|-fno-unit-at-a-time||; s|--fast-math||' \
${WRKSRC}/Makefile
.include <bsd.port.pre.mk>
.include <bsd.port.mk>
REP= 's|-pipe||; s|-fmerge-constants||; s|-fno-unit-at-a-time||; s|--fast-math||'
.if ${ARCH} == "ia64"
REP= 's|-pipe||; s|-fmerge-constants||; s|--fast-math||'
.endif
post-patch:
@${REINPLACE_CMD} -e ${REP} ${WRKSRC}/Makefile
.include <bsd.port.post.mk>