diff options
author | Ross Burton <ross.burton@intel.com> | 2016-02-05 11:44:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-07 17:29:59 +0000 |
commit | 1ae132e10847cecd576cb7ebd5057cea0ad9c64e (patch) | |
tree | e338efe69d81e2bc3d6363efbaac32be37f7079f | |
parent | 3adb8d5cde5de8e536a7893782158f5ded10434c (diff) | |
download | poky-1ae132e10847cecd576cb7ebd5057cea0ad9c64e.tar.gz |
libpcre: enable unicode properties by default
Enable Unicode properties by default, as they're useful and for example GLib
needs them. As there is an impact to code size add this as a PACKAGECONFIG so
tightly constrained environments can save space by potentially disabling them.
Also change --enable-utf8 to --enable-utf, as the former is a compatibility
option for the latter.
(From OE-Core rev: 839eebceecf33d106592bab154481486533ece75)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libpcre/libpcre_8.38.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.38.bb b/meta/recipes-support/libpcre/libpcre_8.38.bb index 4f31f8c4c8..384c2fe79c 100644 --- a/meta/recipes-support/libpcre/libpcre_8.38.bb +++ b/meta/recipes-support/libpcre/libpcre_8.38.bb | |||
@@ -22,12 +22,13 @@ S = "${WORKDIR}/pcre-${PV}" | |||
22 | PROVIDES += "pcre" | 22 | PROVIDES += "pcre" |
23 | DEPENDS += "bzip2 zlib" | 23 | DEPENDS += "bzip2 zlib" |
24 | 24 | ||
25 | PACKAGECONFIG ??= "pcre8" | 25 | PACKAGECONFIG ??= "pcre8 unicode-properties" |
26 | 26 | ||
27 | PACKAGECONFIG[pcre8] = "--enable-pcre8,--disable-pcre8" | 27 | PACKAGECONFIG[pcre8] = "--enable-pcre8,--disable-pcre8" |
28 | PACKAGECONFIG[pcre16] = "--enable-pcre16,--disable-pcre16" | 28 | PACKAGECONFIG[pcre16] = "--enable-pcre16,--disable-pcre16" |
29 | PACKAGECONFIG[pcre32] = "--enable-pcre32,--disable-pcre32" | 29 | PACKAGECONFIG[pcre32] = "--enable-pcre32,--disable-pcre32" |
30 | PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," | 30 | PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," |
31 | PACKAGECONFIG[unicode-properties] = "--enable-unicode-properties,--disable-unicode-properties" | ||
31 | 32 | ||
32 | BINCONFIG = "${bindir}/pcre-config" | 33 | BINCONFIG = "${bindir}/pcre-config" |
33 | 34 | ||
@@ -36,7 +37,7 @@ inherit autotools binconfig-disabled ptest | |||
36 | EXTRA_OECONF = "\ | 37 | EXTRA_OECONF = "\ |
37 | --enable-newline-is-lf \ | 38 | --enable-newline-is-lf \ |
38 | --enable-rebuild-chartables \ | 39 | --enable-rebuild-chartables \ |
39 | --enable-utf8 \ | 40 | --enable-utf \ |
40 | --with-link-size=2 \ | 41 | --with-link-size=2 \ |
41 | --with-match-limit=10000000 \ | 42 | --with-match-limit=10000000 \ |
42 | " | 43 | " |