mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-22 18:10:56 +00:00
cc/gcc: do not build plugins for static toolchains
Plugins are shared objects, and when building a toolchain statically, the gcc build system breaks havok (although there is no hard technical reasons it should not be possible)... And consequently, do not enable plugin supoprt in binutils. Reported-by: Thomas Spurden <thomas@ado.is-a-geek.net> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
b1edc84ae1
commit
0841e2f820
@ -168,6 +168,7 @@ config BINUTILS_PLUGINS
|
||||
bool
|
||||
prompt "Enable support for plugins"
|
||||
depends on BINUTILS_HAS_PLUGINS
|
||||
depends on ! STATIC_TOOLCHAIN
|
||||
help
|
||||
binutils can be extended through the use of plugins.
|
||||
Especially, gold can use the lto-plugin, as installed
|
||||
|
@ -195,6 +195,7 @@ config CC_GCC_HAS_LTO
|
||||
config CC_GCC_ENABLE_PLUGINS
|
||||
bool
|
||||
depends on BINUTILS_PLUGINS
|
||||
depends on ! STATIC_TOOLCHAIN
|
||||
default y
|
||||
|
||||
# If binutils installs gold, enable support for gold in gcc
|
||||
|
Loading…
x
Reference in New Issue
Block a user