diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-29 18:23:44 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-03-29 18:50:09 -0700 |
commit | 6af04d822bdcd533ce731ba245f50bfbc22ed4a4 (patch) | |
tree | 34234390419758dd45d69b14733902363ff516b3 /config/cc | |
parent | 2cdd503a68a47273ae3a059bebdb466f402c972f (diff) | |
download | crosstool-ng-6af04d822bdcd533ce731ba245f50bfbc22ed4a4.tar.gz crosstool-ng-6af04d822bdcd533ce731ba245f50bfbc22ed4a4.tar.bz2 crosstool-ng-6af04d822bdcd533ce731ba245f50bfbc22ed4a4.zip |
cross-gdb: account for canadian/crossnative toolchains
... when determining if it can be linked statically, and if Python
scripting should default to y.
Prompted by a failure of i686-w64-mingw32,nios2-spico-elf sample
on a system where configure didn't report static linking support.
Signed-off-by: Alexey Neyman <stilor@att.net>
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 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 |