svn commit: r517994 - head/lang/gcc8
Gerald Pfeifer
gerald at FreeBSD.org
Wed Nov 20 07:52:29 UTC 2019
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
More information about the svn-ports-all
mailing list