Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2025 23:51:55 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: 42c640a4a5bd - 2025Q1 - security/sequoia-sq: fix build on armv7
Message-ID:  <202501212351.50LNpt9s052403@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=42c640a4a5bdce9b331f8f6e7b2c2f30104c923b

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

    security/sequoia-sq: 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 0ae0e6a0265a079bd356358bde352a90dc374e29)
---
 security/sequoia-sq/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/security/sequoia-sq/Makefile b/security/sequoia-sq/Makefile
index 87d18541685d..af9935a4f432 100644
--- a/security/sequoia-sq/Makefile
+++ b/security/sequoia-sq/Makefile
@@ -30,6 +30,13 @@ OPTIONS_SUB=	yes
 
 ELVISH_DESC=	Install Elvish module
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Marmv?}
+LTO_UNSAFE=	yes
+CARGO_ENV+=	CARGO_PROFILE_RELEASE_LTO=false
+.endif
+
 post-install-BASH-on:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
 	${INSTALL_DATA} ${CARGO_TARGET_DIR}/shell-completions/${PORTNAME}.bash \
@@ -55,4 +62,4 @@ post-install-ZSH-on:
 	${CARGO_TARGET_DIR}/shell-completions/_${PORTNAME}.ps1 \
 		${STAGEDIR}${PREFIX}/share/zsh/site-functions
 
-.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.50LNpt9s052403>