Fixes for libstdcxx-verbose option tristate

Make it proper "tristate" by not specifying the
option.

The config GCC_4_8_or_later was removed with
cc6b7fad46f5cb3d84, so dont use it.
This commit is contained in:
Norbert Lange 2022-06-07 15:10:45 +02:00 committed by Chris Packham
parent 1655025873
commit ee635cdf9a
2 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,6 @@ config CC_GCC_LIBSTDCXX_VERBOSE
default n if BARE_METAL
default m if !BARE_METAL
prompt "Verbose libstdc++"
depends on GCC_4_8_or_later
depends on CC_LANG_CXX
help
Write descriptive error messages on certain events.

View File

@ -380,6 +380,7 @@ do_gcc_core_backend() {
case "${CT_CC_GCC_LIBSTDCXX_VERBOSE}" in
y) extra_config+=("--enable-libstdcxx-verbose");;
m) ;;
"") extra_config+=("--disable-libstdcxx-verbose");;
esac
@ -1020,6 +1021,7 @@ do_gcc_backend() {
case "${CT_CC_GCC_LIBSTDCXX_VERBOSE}" in
y) extra_config+=("--enable-libstdcxx-verbose");;
m) ;;
"") extra_config+=("--disable-libstdcxx-verbose");;
esac