Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2025 23:51:56 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: f0d5164dea9c - 2025Q1 - x11/wezterm: fix build on armv7
Message-ID:  <202501212351.50LNpu7t052438@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=f0d5164dea9c99ef6e2799dafa5384012a1043e5

commit f0d5164dea9c99ef6e2799dafa5384012a1043e5
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-01-20 16:44:40 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-01-21 23:50:49 +0000

    x11/wezterm: 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 bd1fd7747c84e5c3b4339f939f39d2427c4d1031)
---
 x11/wezterm/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/x11/wezterm/Makefile b/x11/wezterm/Makefile
index f4f21967c6b7..1432d88a3a8f 100644
--- a/x11/wezterm/Makefile
+++ b/x11/wezterm/Makefile
@@ -56,6 +56,13 @@ DOCS_BUILD_DEPENDS=	mdbook:textproc/mdbook \
 			mdbook-mermaid:textproc/mdbook-mermaid
 PORTDOCS=		html
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Marmv?}
+LTO_UNSAFE=     yes
+CARGO_ENV+=     CARGO_PROFILE_RELEASE_LTO=false
+.endif
+
 post-patch:
 # Extract (snapshot) version from the port instead of .tag file
 	@${ECHO_CMD} '${DISTVERSIONFULL}' >${WRKSRC}/.tag
@@ -91,4 +98,4 @@ post-install:
 		${WRKSRC}/termwiz/data/${PORTNAME}.terminfo
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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