git: 2b696494d10d - main - lang/gluon: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 12 Jan 2025 21:43:39 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b696494d10d797c779e874cf6c89baecba476e7

commit 2b696494d10d797c779e874cf6c89baecba476e7
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 18:34:50 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:28 +0000

    lang/gluon: fix build on powerpc
    
    rustc-LLVM ERROR: out of memory
---
 lang/gluon/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/gluon/Makefile b/lang/gluon/Makefile
index fa7a640d8092..d2afde478786 100644
--- a/lang/gluon/Makefile
+++ b/lang/gluon/Makefile
@@ -394,7 +394,7 @@ PLIST_FILES=	bin/${PORTNAME}
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == i386
+.if ${ARCH} == i386 || ${ARCH} == powerpc
 LTO_UNSAFE=	yes
 .endif