diff options
author | Alexey Neyman <stilor@att.net> | 2017-06-08 00:02:29 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-06-08 00:06:17 -0700 |
commit | 16d166c2c87a232fae40f8613d43a08fe8cbdc90 (patch) | |
tree | 215b5e38a89b9d482247ee1a19bfc467ceb4b159 /config/debug/gdb.in.native | |
parent | 10089f3c9aa41bdf12f2ca1d85d052f347dd38d5 (diff) | |
download | crosstool-ng-16d166c2c87a232fae40f8613d43a08fe8cbdc90.tar.gz crosstool-ng-16d166c2c87a232fae40f8613d43a08fe8cbdc90.tar.bz2 crosstool-ng-16d166c2c87a232fae40f8613d43a08fe8cbdc90.zip |
Force wide char support in uClibc if GDB8 is enabled
GDB8 (or rather gnulib that is a part of it) provides a fallback mbstate_t
definition - but GCC's C++ headers (which are used via stdint.h since GDB8
uses C++) provide another mbstate_t if libc does not have wide char support.
These two definitions conflict with each other.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/debug/gdb.in.native')
-rw-r--r-- | config/debug/gdb.in.native | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index f199d591..80b50fca 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -6,6 +6,7 @@ config GDB_NATIVE depends on ! BARE_METAL depends on ! LIBC_bionic depends on CC_LANG_CXX || !GDB_8_0_or_later + select LIBC_UCLIBC_WCHAR if LIBC_uClibc && GDB_8_0_or_later select EXPAT_TARGET select NCURSES_TARGET help |