git: 865fb4813b1c - main - net-im/fractal: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:43:45 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=865fb4813b1c5deb5e295dd73b89164472cf10ce
commit 865fb4813b1c5deb5e295dd73b89164472cf10ce
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-12 09:20:57 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:41:47 +0000
net-im/fractal: fix build on powerpc
rustc-LLVM ERROR: out of memory
---
net-im/fractal/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/net-im/fractal/Makefile b/net-im/fractal/Makefile
index 32cf00002ddb..e81b0dbd81f2 100644
--- a/net-im/fractal/Makefile
+++ b/net-im/fractal/Makefile
@@ -34,4 +34,10 @@ CARGO_TEST= no
CARGO_TARGET_DIR= ${WRKSRC}/${MESON_BUILD_DIR}/target
MAKE_ENV+= ${CARGO_ENV}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+LTO_UNSAFE= yes
+.endif
+
.include <bsd.port.mk>