Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:47:15 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6263f4ccaad6 - main - sysutils/conserve: fix build on armv7 and powerpc
Message-ID:  <202501172147.50HLlFCP063226@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6263f4ccaad606da8053c662aa84920b90eecd5e

commit 6263f4ccaad606da8053c662aa84920b90eecd5e
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 14:33:05 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:38 +0000

    sysutils/conserve: fix build on armv7 and powerpc
    
    rustc-LLVM ERROR: out of memory
---
 sysutils/conserve/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sysutils/conserve/Makefile b/sysutils/conserve/Makefile
index 2a8ab8e1d69b..163192cfd49b 100644
--- a/sysutils/conserve/Makefile
+++ b/sysutils/conserve/Makefile
@@ -340,4 +340,10 @@ CARGO_CRATES=	addr2line-0.21.0 \
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == armv7 || ${ARCH} == powerpc
+LTO_UNSAFE=	yes
+.endif
+
 .include <bsd.port.mk>



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