diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-30 06:13:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-30 06:13:08 (GMT) |
commit | a7edff1820d89b45449c7764644fbfa3562e3297 (patch) | |
tree | eee13dd4cd1ce0ba5215d1d6cfa6967e9fc3b22b /config/cc | |
parent | 54a4975220e6a277e93f7844bb79c2dbf5554d16 (diff) | |
parent | 6af04d822bdcd533ce731ba245f50bfbc22ed4a4 (diff) |
Merge pull request #667 from stilor/cross-gdb-deps
cross-gdb: account for canadian/crossnative toolchains
Diffstat (limited to 'config/cc')
-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 b4c5528..c147f05 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 |