1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Enable gold on i386

Reviewed by:	bapt
This commit is contained in:
Antoine Brodin 2019-02-04 20:36:39 +00:00
parent 03154b1abc
commit b164c837ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492166

View File

@ -3,7 +3,7 @@
PORTNAME= binutils
PORTVERSION= 2.31.1
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH?= 1
CATEGORIES?= devel
MASTER_SITES= SOURCEWARE/binutils/releases
@ -90,7 +90,7 @@ STATIC_LDFLAGS+= -all-static
.include <bsd.port.pre.mk>
# Actual earliest version may differ slightly
.if ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != powerpcspe && !defined(PKGNAMEPREFIX) && (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 34 || ${COMPILER_TYPE} == gcc)
.if ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != powerpcspe && !defined(PKGNAMEPREFIX)
CONFIGURE_ARGS+= --enable-gold --enable-plugins
CXXFLAGS+= -Wno-c++11-narrowing
PLIST_SUB+= GOLD=""