git: c2887b8f6598 - main - devel/cargo-leptos: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Feb 2024 11:49:39 UTC
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}