summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-04-05 13:47:15 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-05 13:48:10 +0200
commit6cdcc4d7d8134f4b60f0eb9039090f9ad4c38366 (patch)
treee4900dc502f9fa8752a71e66793bc162b2a4c462
parentc95174a8dfb6f72b80768b73b8f04448f846c122 (diff)
gcc: hide shared libgcc option if BR2_PREFER_STATIC_LIB is enabled
Shared libgcc without shared libs doesn't make much sense. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/gcc/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index ed0c1080a..97d5eb778 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