grep: use internal regex library with musl-libc

musl does not have the GNU regex API provided by glibc.

  http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Regular_expressions

(From OE-Core rev: 1bf295c85d72b7f6ac394e2c27e66ff507689314)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andre McCurdy 2015-07-14 01:30:30 -07:00 committed by Richard Purdie
parent 7e51763e22
commit 1195b41ff4
1 changed files with 4 additions and 1 deletions

View File

@ -23,8 +23,11 @@ SRC_URI[sha256sum] = "38c8a2bb9223d1fb1b10bdd607cf44830afc92fd451ac4cd07619bf92b
inherit autotools gettext texinfo
EXTRA_OECONF_INCLUDED_REGEX = "--without-included-regex"
EXTRA_OECONF_INCLUDED_REGEX_libc-musl = "--with-included-regex"
EXTRA_OECONF = "--disable-perl-regexp \
--without-included-regex"
${EXTRA_OECONF_INCLUDED_REGEX}"
CFLAGS += "-D PROTOTYPES"
do_configure_prepend () {