src.opts.mk: update BINUTILS options and add comments

BINUTILS is needed only for ports, and will be disabled once the failing
ports are addressed (likely by growing a binutils dependency).

BINUTILS_BOOTSTRAP is needed only on amd64, for skein_block_asm.s. There
is no need to enable it on i386.

This will all be removed before FreeBSD 13.0.
This commit is contained in:
Ed Maste 2020-05-08 14:54:40 +00:00
parent 32033b3d30
commit 0e7fa9f96c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360815

View File

@ -290,8 +290,13 @@ __DEFAULT_NO_OPTIONS+=LLVM_TARGET_BPF
.if ${__T} == "aarch64" || ${__T:Mriscv*} != ""
BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GDB
.endif
.if ${__T} == "amd64" || ${__T} == "i386"
# BINUTILS is enabled on x86 to provide as for ports - PR 205250
# BINUTILS_BOOTSTRAP is needed on amd64 only, for skein_block_asm.s
.if ${__T} == "amd64"
__DEFAULT_YES_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP
.elif ${__T} == "i386"
__DEFAULT_YES_OPTIONS+=BINUTILS
__DEFAULT_NO_OPTIONS+=BINUTILS_BOOTSTRAP
.else
__DEFAULT_NO_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP
.endif