Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2023 18:27:24 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: 7ae43763b036 - main - devel/pijul: fix build on powerpc
Message-ID:  <202310111827.39BIRONL091730@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=7ae43763b0365f1dad58963a2d351351980a3134

commit 7ae43763b0365f1dad58963a2d351351980a3134
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-10-11 13:02:51 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-10-11 18:26:48 +0000

    devel/pijul: fix build on powerpc
    
    LLVM ERROR: out of memory
---
 devel/pijul/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

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}/
 



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