[Buildroot] [git commit] coreutils: fix build failure for musl
Peter Korsgaard
peter at korsgaard.com
Fri Nov 7 13:33:02 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=ef5c3f4e89c91597f1748b8877c1e3dd5c77c28b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/coreutils/coreutils.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 41857e2..391d2cd 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 \
More information about the buildroot
mailing list