# HG changeset patch # User "Yann E. MORIN" # Date 1298413662 -3600 # Node ID 9139319423fd7d71017dfc974d3a06ab79e08fb8 # Parent 0c0734c5d62ca4e09f5d54be4fe7f5c97bfc7539 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 Signed-off-by: "Yann E. MORIN" diff -r 0c0734c5d62c -r 9139319423fd config/binutils/binutils.in --- a/config/binutils/binutils.in Mon Feb 21 23:42:20 2011 +0100 +++ b/config/binutils/binutils.in Tue Feb 22 23:27:42 2011 +0100 @@ -168,6 +168,7 @@ 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 diff -r 0c0734c5d62c -r 9139319423fd config/cc/gcc.in --- a/config/cc/gcc.in Mon Feb 21 23:42:20 2011 +0100 +++ b/config/cc/gcc.in Tue Feb 22 23:27:42 2011 +0100 @@ -195,6 +195,7 @@ 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