From 0841e2f820de7a4dca1ddc52b04bf834fff2806b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 22 Feb 2011 23:27:42 +0100 Subject: 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" --- config/cc/gcc.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config/cc') diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 6973c34e..716b4951 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -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 -- cgit v1.2.3