Disable BINUTILS by default on i386

The retirement of obsolete binutils 2.17.50 has been in progress for
quite some time.  All tools other than GNU as were removed prior to this
commit, and it was built only on two archs:

i386, installed as /usr/bin/as
amd64, installed as /usr/bin/as and as a bootstrap tool

The i386 exp-run has completed and failures have been addressed in the
individual ports, so disable it there.

PR:		233611, 205250 [exp-run]
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste
2020-05-29 17:36:54 +00:00
parent f520d76129
commit 24930a2b4a
+1 -4
View File
@@ -290,13 +290,10 @@ __DEFAULT_NO_OPTIONS+=LLVM_TARGET_BPF
.if ${__T} == "aarch64" || ${__T:Mriscv*} != ""
BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GDB
.endif
# BINUTILS is enabled on x86 to provide as for ports - PR 205250
# BINUTILS is enabled on amd64 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