diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-07-14 01:30:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:21 +0100 |
commit | 1195b41ff4a77fc922ec4ca55ed1acae91a856a4 (patch) | |
tree | 6bd79340f71d19b55db561eab8741da74122f34e /meta/recipes-extended/grep/grep_2.5.1a.bb | |
parent | 7e51763e2291e9d12d3e81b859b2045530e0c009 (diff) | |
download | poky-1195b41ff4a77fc922ec4ca55ed1acae91a856a4.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/grep/grep_2.5.1a.bb')
-rw-r--r-- | meta/recipes-extended/grep/grep_2.5.1a.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/grep/grep_2.5.1a.bb b/meta/recipes-extended/grep/grep_2.5.1a.bb index 34d081be86..5a2da28327 100644 --- a/meta/recipes-extended/grep/grep_2.5.1a.bb +++ b/meta/recipes-extended/grep/grep_2.5.1a.bb | |||
@@ -23,8 +23,11 @@ SRC_URI[sha256sum] = "38c8a2bb9223d1fb1b10bdd607cf44830afc92fd451ac4cd07619bf92b | |||
23 | 23 | ||
24 | inherit autotools gettext texinfo | 24 | inherit autotools gettext texinfo |
25 | 25 | ||
26 | EXTRA_OECONF_INCLUDED_REGEX = "--without-included-regex" | ||
27 | EXTRA_OECONF_INCLUDED_REGEX_libc-musl = "--with-included-regex" | ||
28 | |||
26 | EXTRA_OECONF = "--disable-perl-regexp \ | 29 | EXTRA_OECONF = "--disable-perl-regexp \ |
27 | --without-included-regex" | 30 | ${EXTRA_OECONF_INCLUDED_REGEX}" |
28 | 31 | ||
29 | CFLAGS += "-D PROTOTYPES" | 32 | CFLAGS += "-D PROTOTYPES" |
30 | do_configure_prepend () { | 33 | do_configure_prepend () { |