git: 6263f4ccaad6 - main - sysutils/conserve: fix build on armv7 and powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:47:15 UTC
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>