On versions of FreeBSD that that are new enough and made that switch

already, use ELFv2 ABI on powerpc64.

This already is part of lang/gcc8 and lang/gcc9 (and their -devel
siblings); given this is the future of powerpc64 on FreeBSD ensure
GCC development trunk is adopting this as early as possible.
This commit is contained in:
Gerald Pfeifer 2019-12-01 00:03:18 +00:00
parent 6361804dbf
commit 5e91787f44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518744

View File

@ -68,7 +68,11 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.elif ${ARCH} == powerpc64
CONFIGURE_ENV+= UNAME_m="powerpc64"
. if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
CONFIGURE_ARGS+= --with-abi=elfv2
. else
USE_GCC= yes
. endif
.endif
LANGUAGES:= c,c++,objc,fortran