From 0e7fa9f96c7a9e5b17b416ace2310e4fcbcef57f Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 8 May 2020 14:54:40 +0000 Subject: [PATCH] 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. --- share/mk/src.opts.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 16bded97ddf..26b4e8f9d5a 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -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