summaryrefslogtreecommitdiff
path: root/toolchain/uclibc-ng
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-07-08 19:38:43 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-08 19:38:43 -0500
commit9351601c88d763468667b5e929be621da2f5607f (patch)
treea9967a72e24486f5f60bff6eb7c9840f0c4978a1 /toolchain/uclibc-ng
parentd50790812a32facb461e1d3084e89832e110cf54 (diff)
locale support must be enabled, when libc iconv used
Diffstat (limited to 'toolchain/uclibc-ng')
-rw-r--r--toolchain/uclibc-ng/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index 7f204db15..fb662723c 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -86,6 +86,9 @@ ifeq ($(ADK_TARGET_BINFMT_FLAT_SHARED),y)
$(SED) 's/.*\(UCLIBC_FORMAT_FDPIC_ELF\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
endif
+ifeq ($(ADK_TARGET_LIBC_ICONV),y)
+ $(SED) 's/.*\(UCLIBC_HAS_LOCALE\).*/\1=y/' ${WRKBUILD}/.config
+endif
ifeq ($(ADK_TARGET_UCLINUX),y)
$(SED) 's/.*\(ARCH_USE_MMU\).*/# \1 is not set/' ${WRKBUILD}/.config
endif