mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +00:00
picolibc: Don't disable libstdc++ wchar_t for 1.8.1 or newer
Picolibc 1.8.1 has wchar_t stdio support, so libstdc++ can include it. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
7e39f11421
commit
06faf2002e
@ -395,7 +395,9 @@ do_gcc_core_backend() {
|
||||
if [ "${CT_LIBC_PICOLIBC}" = "y" ]; then
|
||||
extra_config+=("--with-default-libc=picolibc")
|
||||
extra_config+=("--enable-stdio=pure")
|
||||
extra_config+=("--disable-wchar_t")
|
||||
if [ "${CT_PICOLIBC_older_than_1_8}" = "y" ]; then
|
||||
extra_config+=("--disable-wchar_t")
|
||||
fi
|
||||
fi
|
||||
|
||||
core_LDFLAGS+=("${ldflags}")
|
||||
|
@ -146,7 +146,9 @@ 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_PICOLIBC_older_than_1_8}" = "y" ]; then
|
||||
final_opts+=( "extra_config+=('--disable-wchar_t')" )
|
||||
fi
|
||||
if [ "${CT_LIBC_PICOLIBC_ENABLE_TARGET_OPTSPACE}" = "y" ]; then
|
||||
final_opts+=( "enable_optspace=yes" )
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user