summaryrefslogtreecommitdiff
path: root/config/binutils
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-02-22 23:27:42 +0100
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-02-22 23:27:42 +0100
commit0841e2f820de7a4dca1ddc52b04bf834fff2806b (patch)
tree60655420cc1fe42c7032d38250aff3c05646eceb /config/binutils
parentb1edc84ae1fc8003438c3440cea529364e8a5bc7 (diff)
downloadcrosstool-ng-0841e2f820de7a4dca1ddc52b04bf834fff2806b.tar.gz
crosstool-ng-0841e2f820de7a4dca1ddc52b04bf834fff2806b.tar.bz2
crosstool-ng-0841e2f820de7a4dca1ddc52b04bf834fff2806b.zip
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>
Diffstat (limited to 'config/binutils')
-rw-r--r--config/binutils/binutils.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in
index 590bf982..6172d825 100644
--- a/config/binutils/binutils.in
+++ b/config/binutils/binutils.in
@@ -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