config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
bool
default y
- # The ARC version needs C++11, thus gcc >= 4.8, like gdb >= 8.x
- depends on BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_arc
depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
depends on !BR2_microblaze
depends on !BR2_nios2
depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
+comment "host gdb needs a host gcc >= 4.8"
+ depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
+ depends on !BR2_HOST_GCC_AT_LEAST_4_8
+
config BR2_PACKAGE_HOST_GDB
bool "Build cross gdb for the host"
+ # gdb >= 8.x needs C++11
+ depends on BR2_HOST_GCC_AT_LEAST_4_8
# When the external toolchain gdbserver is used, we shouldn't
# allow to build a cross-gdb, as the one of the external
# toolchain should be used.