git: bc3b38ef64d2 - main - lang/gcc12-devel: remove ELFv1 support

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 21:04:57 UTC
The branch main has been updated by pkubaj:

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

commit bc3b38ef64d2b7b2ed9fb0f5b3220647dc28362d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-05 18:16:41 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-05 21:03:58 +0000

    lang/gcc12-devel: remove ELFv1 support
---
 lang/gcc12-devel/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile
index 109ad87a573d..8a5ecd064739 100644
--- a/lang/gcc12-devel/Makefile
+++ b/lang/gcc12-devel/Makefile
@@ -77,9 +77,8 @@ CXXFLAGS:=	${CFLAGS:S/mcpu=g/mcpu=G/}
 .if ${ARCH} == amd64
 CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
 
-.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+.elif ${ARCH} == powerpc64
 CONFIGURE_ARGS+=	--with-abi=elfv2
-
 .endif
 
 LANGUAGES:=	c,c++,objc,fortran,jit