gcc: hide shared libgcc option if BR2_PREFER_STATIC_LIB is enabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 5 Apr 2010 11:47:15 +0000 (13:47 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 5 Apr 2010 11:48:10 +0000 (13:48 +0200)
Shared libgcc without shared libs doesn't make much sense.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gcc/Config.in

index ed0c1080ad435918c23a28abcf4f442caa2e0a69..97d5eb77893f53a9d0d1648cfa057d534b1d64c9 100644 (file)
@@ -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