mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/uclibc: automatically enable uchar when wchar is enabled
When wchar in uClibc is enabled, just enable uchar support, too. Adds 5kb to the C library on aarch64. Makes the default uClibc config more compatible to musl and glibc. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
4c5039b80e
commit
d3dbfb3de0
@@ -365,6 +365,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT_WCHAR),y)
|
||||
UCLIBC_WCHAR_CONFIG = $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_WCHAR)
|
||||
UCLIBC_UCHAR_CONFIG = $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_UCHAR)
|
||||
else
|
||||
UCLIBC_WCHAR_CONFIG = $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_WCHAR)
|
||||
endif
|
||||
@@ -431,6 +432,7 @@ define UCLIBC_KCONFIG_FIXUP_CMDS
|
||||
$(UCLIBC_THREAD_DEBUG_CONFIG)
|
||||
$(UCLIBC_LOCALE_CONFIG)
|
||||
$(UCLIBC_WCHAR_CONFIG)
|
||||
$(UCLIBC_UCHAR_CONFIG)
|
||||
$(UCLIBC_SHARED_LIBS_CONFIG)
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user