diff options
author | Alexey Neyman <stilor@att.net> | 2019-03-05 00:48:31 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2019-03-05 00:48:31 -0800 |
commit | 4ddad7b34f37f87e33e833f75a071c3775adc8cd (patch) | |
tree | ef3ad3d263a527f68feff64cc515acdbe6275776 /config/debug | |
parent | b3cce054ef381502af4f58105604081bf431ac9e (diff) | |
download | crosstool-ng-4ddad7b34f37f87e33e833f75a071c3775adc8cd.tar.gz crosstool-ng-4ddad7b34f37f87e33e833f75a071c3775adc8cd.tar.bz2 crosstool-ng-4ddad7b34f37f87e33e833f75a071c3775adc8cd.zip |
CentOS6 cannot use newer GDB releases
... unless one retrofits it with a decent compiler instead of stock
GCC 4.4.
While here, sync up the ax_*.m4 with autoconf-archive.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/debug')
-rw-r--r-- | config/debug/gdb.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in index a9fab104..f5f7578b 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -24,3 +24,11 @@ config GDB_INSTALL_GDBINIT config GDB_HAS_DISABLE_CXX_BUILD def_bool y depends on GDB_7_12_or_later && !GDB_8_0_or_later + +# GDB 8.0 requires not just any C++, but recent enough to support C++11. +# Yes, in 2019 there are still LTS systems still lacking such support. +# I am looking at you, CentOS 6: no cookie for you, use an older GDB. +config GDB_DEP_CXX11 + def_bool y + depends on !CONFIGURE_has_cxx11 + select GDB_REQUIRE_older_than_8_0 |