git: 1806ca6414ab - main - lang/gcc12-devel: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sat, 20 Nov 2021 15:12:47 UTC
The branch main has been updated by pkubaj:

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

commit 1806ca6414ab117e23beff85848696b58eaac927
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-11-20 15:07:29 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-11-20 15:07:29 +0000

    lang/gcc12-devel: fix build on powerpc
    
    Workaround https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102278 by using older GCC to build.
---
 lang/gcc12-devel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile
index 0a8abd09bcf3..365118231de4 100644
--- a/lang/gcc12-devel/Makefile
+++ b/lang/gcc12-devel/Makefile
@@ -69,7 +69,7 @@ CONFIGURE_ARGS+=	--with-abi=elfv2
 . endif
 USE_GCC=	yes
 
-.elif ${ARCH} == powerpc64le
+.elif ${ARCH} == powerpc64le || ${ARCH} == powerpc
 USE_GCC=	yes
 .endif