git: e22931d36aaa - main - devel/cargo-c: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 31 Jan 2024 08:22:32 UTC
The branch main has been updated by pkubaj:

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

commit e22931d36aaa47e847b9519fc8be279249ca1a8b
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-31 08:12:34 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-31 08:22:28 +0000

    devel/cargo-c: fix build on powerpc
    
    Same issue as on armv?.
---
 devel/cargo-c/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/cargo-c/Makefile b/devel/cargo-c/Makefile
index 12f583611b0e..7f5baadbbc3c 100644
--- a/devel/cargo-c/Makefile
+++ b/devel/cargo-c/Makefile
@@ -28,7 +28,7 @@ PLIST_FILES=	bin/cargo-capi \
 .include <bsd.port.pre.mk>
 
 # prevent address space exhaustion on armv6/armv7
-.if ${ARCH:Marmv?}
+.if ${ARCH:Marmv?} || ${ARCH} == powerpc
 LTO_UNSAFE=	yes
 .endif