mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-13 22:23:04 +00:00
picolibc: Disable wchar_t use in libstdc++
Picolibc doesn't support wchar_t in stdio, so disable the use of these functions from libstdc++. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
3782373c8c
commit
9dc8ebf871
@ -40,6 +40,7 @@ do_cc_libstdcxx_picolibc()
|
||||
final_opts+=( "lang_list=c,c++" )
|
||||
final_opts+=( "build_step=libstdcxx" )
|
||||
final_opts+=( "extra_config+=('--enable-stdio=stdio_pure')" )
|
||||
final_opts+=( "extra_config+=('--disable-wchar_t')" )
|
||||
if [ "${CT_LIBC_PICOLIBC_ENABLE_TARGET_OPTSPACE}" = "y" ]; then
|
||||
final_opts+=( "enable_optspace=yes" )
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user