diff --git a/lang/gcc13/Makefile b/lang/gcc13/Makefile index 4053c2c40fcbd..fb314ff3629ee 100644 --- a/lang/gcc13/Makefile +++ b/lang/gcc13/Makefile @@ -70,7 +70,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