[Bug 270532] devel/binutils: plist issues on riscv64

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Mar 2023 19:36:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270532

--- Comment #5 from Cy Schubert <cy@FreeBSD.org> ---
(In reply to Robert Clausecker from comment #4)

This determines whether GOLD is enabled or not:

# Actual earliest version may differ slightly
.if (${ARCH} != sparc64 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} !=
po
werpcspe && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != riscv64 &&
!defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) &&
${C
HOSEN_COMPILER_TYPE} != gcc && !defined(PKGNAMEPREFIX))
CONFIGURE_ARGS+=        --enable-gold --enable-plugins
CXXFLAGS+=      -Wno-c++11-narrowing
PLIST_SUB+=     GOLD=""
.else
PLIST_SUB+=     GOLD="@comment "
.endif

riscv64 enables GOLD. This was committed by linimon in c5335035d337a (SVN
r556734).

-- 
You are receiving this mail because:
You are on the CC list for the bug.