Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2024 12:01:00 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: 530d76209c8d - main - www/trunk: fix build on powerpc
Message-ID:  <202408041201.474C10aX012113@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=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}
 



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