Date: Wed, 20 Nov 2019 07:52:28 +0000 (UTC) From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517994 - head/lang/gcc8 Message-ID: <201911200752.xAK7qS7e072477@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Wed Nov 20 07:52:28 2019 New Revision: 517994 URL: https://svnweb.freebsd.org/changeset/ports/517994 Log: Partially forward port r517855 | gerald | 2019-11-18 from lang/gcc8-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/gcc8/Makefile Modified: head/lang/gcc8/Makefile ============================================================================== --- head/lang/gcc8/Makefile Wed Nov 20 06:46:39 2019 (r517993) +++ head/lang/gcc8/Makefile Wed Nov 20 07:52:28 2019 (r517994) @@ -62,7 +62,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 MAKE_ARGS+= CFLAGS_FOR_TARGET="-O1" CXXFLAGS_FOR_TARGET="-O1" BOOT_CFLAGS="-O1" # PR235975 +.endif .elif ${ARCH} == powerpcspe CONFIGURE_ARGS+= --with-cpu=8548 --enable-e500_double --without-fp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911200752.xAK7qS7e072477>