diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -174,10 +174,14 @@ uClibc_config: Makefile Config fi @if [ "$(HAS_LOCALE)" = "true" ] ; then \ echo "#define __UCLIBC_HAS_LOCALE__ 1" >> include/bits/uClibc_config.h ; \ - echo "#define __UCLIBC_LOCALE_DIR \""$(LOCALE_DIR)"\"" >> include/bits/uClibc_config.h ; \ else \ echo "#undef __UCLIBC_HAS_LOCALE__" >> include/bits/uClibc_config.h ; \ fi + @if [ "$(HAS_WCHAR)" = "true" ] ; then \ + echo "#define __UCLIBC_HAS_WCHAR__ 1" >> include/bits/uClibc_config.h ; \ + else \ + echo "#undef __UCLIBC_HAS_WCHAR__" >> include/bits/uClibc_config.h ; \ + fi @if [ "$(HAVE_ELF)" = "false" ] ; then \ echo "#undef HAVE_ELF" >> include/bits/uClibc_config.h ; \ else \ |