git: f8f67a2f0df8 - main - lang/gcc11-devel: remove ELFv1 support

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

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

commit f8f67a2f0df8810f4c222b090a4b6a6b0d3dca0f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-04 23:54:38 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-05 21:01:16 +0000

    lang/gcc11-devel: remove ELFv1 support
---
 lang/gcc11-devel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/gcc11-devel/Makefile b/lang/gcc11-devel/Makefile
index 143b59d7b6a7..b5c29995f657 100644
--- a/lang/gcc11-devel/Makefile
+++ b/lang/gcc11-devel/Makefile
@@ -76,7 +76,7 @@ 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