[oe-commits] Andre McCurdy : grep: use internal regex library with musl-libc
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 20 09:42:04 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 1bf295c85d72b7f6ac394e2c27e66ff507689314
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1bf295c85d72b7f6ac394e2c27e66ff507689314
Author: Andre McCurdy <armccurdy at gmail.com>
Date: Tue Jul 14 01:30:30 2015 -0700
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
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-extended/grep/grep_2.5.1a.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-extended/grep/grep_2.5.1a.bb b/meta/recipes-extended/grep/grep_2.5.1a.bb
index 34d081b..5a2da28 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
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 () {
More information about the Openembedded-commits
mailing list