summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-02-05 11:44:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-07 17:29:59 +0000
commit1ae132e10847cecd576cb7ebd5057cea0ad9c64e (patch)
treee338efe69d81e2bc3d6363efbaac32be37f7079f /meta/recipes-support
parent3adb8d5cde5de8e536a7893782158f5ded10434c (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.38.bb5
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}"
22PROVIDES += "pcre" 22PROVIDES += "pcre"
23DEPENDS += "bzip2 zlib" 23DEPENDS += "bzip2 zlib"
24 24
25PACKAGECONFIG ??= "pcre8" 25PACKAGECONFIG ??= "pcre8 unicode-properties"
26 26
27PACKAGECONFIG[pcre8] = "--enable-pcre8,--disable-pcre8" 27PACKAGECONFIG[pcre8] = "--enable-pcre8,--disable-pcre8"
28PACKAGECONFIG[pcre16] = "--enable-pcre16,--disable-pcre16" 28PACKAGECONFIG[pcre16] = "--enable-pcre16,--disable-pcre16"
29PACKAGECONFIG[pcre32] = "--enable-pcre32,--disable-pcre32" 29PACKAGECONFIG[pcre32] = "--enable-pcre32,--disable-pcre32"
30PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," 30PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline,"
31PACKAGECONFIG[unicode-properties] = "--enable-unicode-properties,--disable-unicode-properties"
31 32
32BINCONFIG = "${bindir}/pcre-config" 33BINCONFIG = "${bindir}/pcre-config"
33 34
@@ -36,7 +37,7 @@ inherit autotools binconfig-disabled ptest
36EXTRA_OECONF = "\ 37EXTRA_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"