summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-02-22 22:27:42 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-02-22 22:27:42 (GMT)
commit4d434a63b1cc3eedacfc19d729a10d7190b69300 (patch)
tree9708978ceec27f2150a7f4e106438608be1b2418 /config/cc/gcc.in
parent7aaa332991f27e5385087f36a1cc8e7754c97147 (diff)
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> (transplanted from 9139319423fd7d71017dfc974d3a06ab79e08fb8)
Diffstat (limited to 'config/cc/gcc.in')
-rw-r--r--config/cc/gcc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 3c18b8b..ca1816a 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -182,6 +182,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