From: Gustavo Zacarias Date: Fri, 7 Nov 2014 12:45:46 +0000 (-0300) Subject: coreutils: fix build failure for musl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef5c3f4e89c91597f1748b8877c1e3dd5c77c28b;p=buildroot.git coreutils: fix build failure for musl musl doesn't implement re_match and friends and coreutils fails to detect this properly, so force internal regex routines for musl. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index 41857e2ec4..391d2cd407 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -14,7 +14,8 @@ COREUTILS_LICENSE_FILES = COPYING COREUTILS_AUTORECONF = YES COREUTILS_GETTEXTIZE = YES -COREUTILS_CONF_OPTS = --disable-rpath --enable-single-binary=shebangs +COREUTILS_CONF_OPTS = --disable-rpath --enable-single-binary=shebangs \ + $(if $(BR2_TOOLCHAIN_USES_MUSL),--with-included-regex) COREUTILS_CONF_ENV = ac_cv_c_restrict=no \ ac_cv_func_chown_works=yes \ ac_cv_func_euidaccess=no \