diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-10-14 20:44:24 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-10-14 20:44:24 (GMT) |
commit | e2b9a81da34023db468b61caecf1b4799016f174 (patch) | |
tree | 6bdb3dc39eb5a490d49823b07b336a260cb0a6f9 /config/cc/gcc.in.2 | |
parent | 6e00f49ab44487694fd0e68a3f4b2c4f43f72afe (diff) |
scripts: check host features with host compiler
Currently, we check host feature in ./configure. This works only for
cross toolchains, but not for canadian toolchains. ./configure has
absolutely no way to know what the host for the toolchain will be;
only the build scripts know.
So, move the headers & libraries checks from ./configure to the build
scripts, early enough in the build, but not before we know the host
compiler and other tools.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/cc/gcc.in.2')
-rw-r--r-- | config/cc/gcc.in.2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index 641478d..35a1070 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -44,9 +44,8 @@ config CC_STATIC_LIBSTDCXX bool prompt "Link libstdc++ statically into the gcc binary" default y - depends on CONFIGURE_static_link_ok - depends on CONFIGURE_has_static_libstdcxx depends on CC_GCC_4_4_or_later + select WANTS_STATIC_LINK help Newer gcc versions use the PPL library which is C++ code. Statically linking libstdc++ increases the likeliness that the gcc binary will |