svn commit: r523841 - head/devel/binutils
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jan 22 20:27:00 UTC 2020
Author: pkubaj
Date: Wed Jan 22 20:27:00 2020
New Revision: 523841
URL: https://svnweb.freebsd.org/changeset/ports/523841
Log:
devel/binutils: enable gold on powerpc64 and powerpc
ld.gold now works fine on powerpc64, but only when compiled with clang.
PR: 243194
Approved by: bapt (maintainer timeout)
Modified:
head/devel/binutils/Makefile
Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile Wed Jan 22 20:16:46 2020 (r523840)
+++ head/devel/binutils/Makefile Wed Jan 22 20:27:00 2020 (r523841)
@@ -4,7 +4,7 @@
PORTNAME= binutils
PORTVERSION= 2.33.1
PORTEPOCH?= 1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= devel
MASTER_SITES= SOURCEWARE/binutils/releases
@@ -108,7 +108,7 @@ MAKE_ARGS+= LIBDL=""
.include <bsd.port.pre.mk>
# Actual earliest version may differ slightly
-.if ${ARCH} != sparc64 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != powerpcspe && !defined(PKGNAMEPREFIX)
+.if (${ARCH} != sparc64 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpcspe && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} == clang && !defined(PKGNAMEPREFIX))
CONFIGURE_ARGS+= --enable-gold --enable-plugins
CXXFLAGS+= -Wno-c++11-narrowing
PLIST_SUB+= GOLD=""
More information about the svn-ports-all
mailing list