From: Felix Fietkau Date: Sat, 11 Dec 2010 13:30:44 +0000 (+0000) Subject: coreutils: fix build with uclibc 0.9.32 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ef9dac2f473c860a6b1aedbe475b8bfeb12e6cfc;p=openwrt%2Fsvn-archive%2Farchive.git coreutils: fix build with uclibc 0.9.32 SVN-Revision: 24483 --- diff --git a/utils/coreutils/Makefile b/utils/coreutils/Makefile index 71038822d6..43e79466c8 100644 --- a/utils/coreutils/Makefile +++ b/utils/coreutils/Makefile @@ -62,17 +62,14 @@ define Package/coreutils/description sufficient and much smaller. endef -ifneq ($(CONFIG_USE_UCLIBC),) -CONFIGURE_VARS += \ - gl_cv_func_mbrtowc_incomplete_state=yes \ - gl_cv_func_mbrtowc_retval=yes \ - gl_cv_func_wcrtomb_retval=yes \ - ac_cv_type_pthread_spinlock_t=no -else CONFIGURE_VARS += \ gl_cv_func_mbrtowc_incomplete_state=yes \ gl_cv_func_mbrtowc_retval=yes \ gl_cv_func_wcrtomb_retval=yes + +ifneq ($(CONFIG_USE_UCLIBC),) + CONFIGURE_VARS += \ + ac_cv_type_pthread_spinlock_t=$(if $(filter 0.9.30% 0.9.2% 0.9.31%,$(call qstrip,$(CONFIG_UCLIBC_VERSION))),no,yes) endif CONFIGURE_ARGS += \