crosstool-ng/scripts/build
Alexey Brodkin e075bdfc94 gcc: Don't mess with --with-host-libstdcxx if recent GCC (6+) is used
"--with-host-libstdcxx" option was removed in GCC 6.x, see [1] because of [2].
So it makes no sense to use it with later GCC versions.

Frankly I don't like that implementation with yet another set of "if XXX",
but since we still support GCC down to 4.8.5 what else we may do?

Well, technically we may keep using things as they are now,
because surprisingly GCC's configure script doesn't mind accepting
meaningless options, but as a person who's looking at differences between
various builds and drill-down to peculiarities of various config
options, I'd prefer to not pollute configure with garbage.

But for all the rest... well, it works now and maybe nodody else cares.

[1] https://gcc.gnu.org/git/?p=gcc.git&a=commit;h=5dc85f7ec719a79ecfbcdd8563b07e5f0f365e65
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67092

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-07 00:43:36 -07:00
..
arch ARC: No more fiddling with uClibc's CONFIG_ARC_HAS_ATOMICS 2021-08-24 09:48:56 -07:00
binutils Add EXTRA_CXXFLAGS_FOR_BUILD option 2021-07-06 16:19:17 +01:00
cc gcc: Don't mess with --with-host-libstdcxx if recent GCC (6+) is used 2021-09-07 00:43:36 -07:00
companion_libs gnuprumcu: Bump to v0.6.0 2021-08-22 18:08:13 +03:00
companion_tools m4: fix build for mingw32 host 2020-10-06 09:32:40 +02:00
debug gdb: Add gdb-10.2 2021-08-25 10:12:56 +12:00
kernel Add support for no-mmu microblaze 2021-08-25 17:36:47 +10:00
libc Fix build of older Glibc using GCC >=10 2021-06-24 00:58:32 -07:00
test_suite Fix the references to old config variables 2017-07-08 10:57:56 -07:00
arch.sh Add config flags for omitting 'arch' and 'vendor' 2018-12-10 01:10:01 -08:00
companion_libs.sh Build companion libs for target. 2015-11-13 10:24:22 -08:00
companion_tools.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00
debug.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00
internals.sh build/internals.sh: Handle pie executables 2019-09-14 22:21:11 +12:00
libc.sh Use "package ksym" when fetching/extracting 2018-12-14 18:50:51 -08:00
test_suite.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00