git: 530d76209c8d - main - www/trunk: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 12:01:00 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=530d76209c8d8b749fc0d9b424c6535e2aa38ff0
commit 530d76209c8d8b749fc0d9b424c6535e2aa38ff0
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-07-29 19:37:58 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-08-04 12:00:11 +0000
www/trunk: fix build on powerpc
rustc-LLVM ERROR: out of memory
---
www/trunk/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/trunk/Makefile b/www/trunk/Makefile
index c0c192118e15..ce396f0adbba 100644
--- a/www/trunk/Makefile
+++ b/www/trunk/Makefile
@@ -463,6 +463,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}