svn commit: r523960 - head/devel/binutils
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Jan 24 09:47:46 UTC 2020
Author: pkubaj
Date: Fri Jan 24 09:47:45 2020
New Revision: 523960
URL: https://svnweb.freebsd.org/changeset/ports/523960
Log:
devel/binutils: fix build on powerpc and powerpc64 with gcc
The check with clang was unnecessary.
Reported by: linimon
Pointy hat: me
Modified:
head/devel/binutils/Makefile
Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile Fri Jan 24 09:30:25 2020 (r523959)
+++ head/devel/binutils/Makefile Fri Jan 24 09:47:45 2020 (r523960)
@@ -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} != powerpcspe && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} == clang && !defined(PKGNAMEPREFIX))
+.if (${ARCH} != sparc64 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpcspe && ${ARCH} != powerpc && ${ARCH} != powerpc64 && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} != gcc && !defined(PKGNAMEPREFIX))
CONFIGURE_ARGS+= --enable-gold --enable-plugins
CXXFLAGS+= -Wno-c++11-narrowing
PLIST_SUB+= GOLD=""
More information about the svn-ports-head
mailing list