diff options
Diffstat (limited to 'config/cc/gcc.in.2')
-rw-r--r-- | config/cc/gcc.in.2 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index b4c55283..c147f05e 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -66,8 +66,9 @@ config CC_GCC_STATIC_LIBSTDCXX bool prompt "Link libstdc++ statically into the gcc binary" default y - depends on CONFIGURE_has_static_link - select WANTS_STATIC_LINK + depends on CONFIGURE_has_static_link || CANADIAN || CROSS_NATIVE + select WANTS_STATIC_LINK if CROSS || NATIVE + select WANTS_STATIC_LINK_CXX if CROSS || NATIVE help Newer gcc versions require some c++ libraries. So statically linking libstdc++ increases the likeliness that the gcc binary will |