From 6e28118c9e30c8cad3bfb496088c9fda1a6437bb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 11 Dec 2010 13:30:44 +0000 Subject: [PATCH] coreutils: fix build with uclibc 0.9.32 SVN-Revision: 24483 --- utils/coreutils/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/utils/coreutils/Makefile b/utils/coreutils/Makefile index 71038822d..43e79466c 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 += \ -- 2.30.2