Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2025 23:51:50 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 5249235200c6 - 2025Q1 - net-im/iamb: fix build on armv7
Message-ID:  <202501212351.50LNpokE052258@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2025Q1 has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5249235200c67838e46081ebdc7ce538df5002ee

commit 5249235200c67838e46081ebdc7ce538df5002ee
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-01-20 15:08:44 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-01-21 23:50:46 +0000

    net-im/iamb: fix build on armv7
    
    This avoids an address space exhaustion due to LTO.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2025Q1
    
    (cherry picked from commit 99307fa7af2d60094dab4564a1d53fdaf7ca3683)
---
 net-im/iamb/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-im/iamb/Makefile b/net-im/iamb/Makefile
index 42772f66ff6f..e2e65cb8adde 100644
--- a/net-im/iamb/Makefile
+++ b/net-im/iamb/Makefile
@@ -24,4 +24,11 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/docs/iamb.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_DATA} ${WRKSRC}/docs/iamb.5 ${STAGEDIR}${PREFIX}/share/man/man5
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Marmv?}
+LTO_UNSAFE=	yes
+CARGO_ENV+=	CARGO_PROFILE_RELEASE_LTO=false
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501212351.50LNpokE052258>