mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
binutils/binutils: hide gold option if no support for current architecture
The gold linker does currently support only a limited set of architectures: - x86 (32- and 64-bit) - ARM Hide the gold option for other architectures. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> (transplanted from 148e80538623dd4fdb7895546138eabaf5712518)
This commit is contained in:
parent
a0028d2565
commit
93426d8186
@ -67,10 +67,20 @@ config BINUTILS_2_21_or_later
|
||||
config BINUTILS_HAS_GOLD
|
||||
bool
|
||||
|
||||
config BINUTILS_GOLD_SUPPORTS_ARCH
|
||||
bool
|
||||
|
||||
config BINUTILS_HAS_PLUGINS
|
||||
bool
|
||||
|
||||
if BINUTILS_HAS_GOLD
|
||||
# Only these architectures have support in gold
|
||||
config ARCH_arm
|
||||
select BINUTILS_GOLD_SUPPORTS_ARCH
|
||||
|
||||
config ARCH_x86
|
||||
select BINUTILS_GOLD_SUPPORTS_ARCH
|
||||
|
||||
if BINUTILS_HAS_GOLD && BINUTILS_GOLD_SUPPORTS_ARCH
|
||||
|
||||
choice
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user