svn commit: r517702 - head/lang/gcc9-devel

Gerald Pfeifer gerald at FreeBSD.org
Fri Nov 15 20:47:38 UTC 2019


Author: gerald
Date: Fri Nov 15 20:47:36 2019
New Revision: 517702
URL: https://svnweb.freebsd.org/changeset/ports/517702

Log:
  On versions of FreeBSD that that are new enough and made that switch
  already, use ELFv2 ABI on powerpc64.
  
  PR:		239813
  Submitted by:	pkubaj
  Reported by:	linimon

Modified:
  head/lang/gcc9-devel/Makefile

Modified: head/lang/gcc9-devel/Makefile
==============================================================================
--- head/lang/gcc9-devel/Makefile	Fri Nov 15 20:39:58 2019	(r517701)
+++ head/lang/gcc9-devel/Makefile	Fri Nov 15 20:47:36 2019	(r517702)
@@ -70,7 +70,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=	8
+. endif
 .endif
 
 LANGUAGES:=	c,c++,objc,fortran


More information about the svn-ports-head mailing list