From ef5c3f4e89c91597f1748b8877c1e3dd5c77c28b Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 7 Nov 2014 09:45:46 -0300 Subject: [PATCH] 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 --- package/coreutils/coreutils.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index 41857e2ec..391d2cd40 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 \