package/uclibc: automatically enable uchar when wchar is enabled
PATCH 1/1 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 <[email protected]>
--- package/uclibc/uclibc.mk | 2 ++ 1 file changed, 2 insertions(+)
package/uclibc/uclibc.mk +2 -0
@@ -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
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 5 lines · Waldemar Brodkorb
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 <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot