svn commit: r517973 - head/lang/gcc9

Gerald Pfeifer gerald at FreeBSD.org
Tue Nov 19 17:17:52 UTC 2019


Author: gerald
Date: Tue Nov 19 17:17:51 2019
New Revision: 517973
URL: https://svnweb.freebsd.org/changeset/ports/517973

Log:
  Forward port r517702 | gerald | 2019-11-15 from lang/gcc9-devel:
  
    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/Makefile

Modified: head/lang/gcc9/Makefile
==============================================================================
--- head/lang/gcc9/Makefile	Tue Nov 19 15:36:39 2019	(r517972)
+++ head/lang/gcc9/Makefile	Tue Nov 19 17:17:51 2019	(r517973)
@@ -63,7 +63,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-all mailing list