aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-10-11 13:02:51 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-10-11 18:26:48 +0000
commit7ae43763b0365f1dad58963a2d351351980a3134 (patch)
treed2f79fd18ff650b2733d13f6eef8a0eb9c41bcc4
parent5380278f8e383a5bad391762be87eae31a9a9bcc (diff)
downloadports-7ae43763b0365f1dad58963a2d351351980a3134.tar.gz
ports-7ae43763b0365f1dad58963a2d351351980a3134.zip
devel/pijul: fix build on powerpc
LLVM ERROR: out of memory
-rw-r--r--devel/pijul/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/pijul/Makefile b/devel/pijul/Makefile
index 0f2e36c1cd4f..2123b87b2916 100644
--- a/devel/pijul/Makefile
+++ b/devel/pijul/Makefile
@@ -382,6 +382,12 @@ CARGO_CRATES= ${PORTNAME}-1.0.0-beta.6 \
PLIST_FILES= bin/pijul
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+LTO_UNSAFE= yes
+.endif
+
post-patch:
${MV} ${WRKSRC}/cargo-crates/pijul-1.0.0-beta.6/* ${WRKSRC}/