[Buildroot] [git commit master] gcc: hide shared libgcc option if BR2_PREFER_STATIC_LIB is enabled

Peter Korsgaard jacmet at sunsite.dk
Mon Apr 5 11:48:10 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=6cdcc4d7d8134f4b60f0eb9039090f9ad4c38366
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Shared libgcc without shared libs doesn't make much sense.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 toolchain/gcc/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index ed0c108..97d5eb7 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -153,6 +153,7 @@ config BR2_INSTALL_FORTRAN
 
 config BR2_GCC_SHARED_LIBGCC
 	bool "Build/install a shared libgcc?"
+	depends on !BR2_PREFER_STATIC_LIB
 	default y
 	depends on !BR2_sparc && !BR2_sparc64
 	help
-- 
1.6.3.3



More information about the buildroot mailing list