Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2024 11:49:39 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: c2887b8f6598 - main - devel/cargo-leptos: fix build on powerpc
Message-ID:  <202402111149.41BBndnJ085075@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=c2887b8f65988c6dacbe365c7b9efea6a5d27980

commit c2887b8f65988c6dacbe365c7b9efea6a5d27980
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-02-08 16:54:35 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-02-11 11:48:42 +0000

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

diff --git a/devel/cargo-leptos/Makefile b/devel/cargo-leptos/Makefile
index 3b1ab6241dac..f80ca4a66f6d 100644
--- a/devel/cargo-leptos/Makefile
+++ b/devel/cargo-leptos/Makefile
@@ -379,6 +379,12 @@ OPENSSLLIB=	/usr/lib
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+LTO_UNSAFE=	yes
+.endif
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 



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