git: b58b5a5886f6 - main - net-im/gurk-rs: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Oct 2023 07:08:02 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=b58b5a5886f650a861b15a92e3a2bd9583296fa1 commit b58b5a5886f650a861b15a92e3a2bd9583296fa1 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-10-15 04:41:03 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-10-19 07:07:25 +0000 net-im/gurk-rs: fix build on armv7 Disable LTO to avoid an address space exhaustion. Approved by: portmgr (build fix blanket) MFH: 2023Q4 --- net-im/gurk-rs/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-im/gurk-rs/Makefile b/net-im/gurk-rs/Makefile index 5fc6f85febeb..01bdda551d5a 100644 --- a/net-im/gurk-rs/Makefile +++ b/net-im/gurk-rs/Makefile @@ -19,6 +19,13 @@ GH_ACCOUNT= boxdot PLIST_FILES= bin/gurk \ ${DATADIR}/README.md +.include <bsd.port.pre.mk> + +# avoid address space exhaustion on armv7 +.if ${ARCH:Marmv?} +LTO_UNSAFE= yes +.endif + post-patch: ${REINPLACE_CMD} -e s,%%WRKDIR%%,${WRKDIR}, ${WRKSRC}/Cargo.toml @@ -27,4 +34,4 @@ post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DATADIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk>