summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-13 16:13:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-23 11:44:14 +0100
commit9feef47544603894fca04c51fff7506218370ff5 (patch)
tree861c5cd59b99507a4e69154e519d197ff6b75ae2
parentf930cbc521c431a1322f5b1cecc95686aa56a043 (diff)
downloadpoky-9feef47544603894fca04c51fff7506218370ff5.tar.gz
zlib: Pass pre-calculate uname enable re-entrant flags
Fix ptest generation (From OE-Core rev: 07f4b0f016225e2b211689a270e56b2923ecb434) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/zlib/zlib_1.2.11.bb12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-core/zlib/zlib_1.2.11.bb b/meta/recipes-core/zlib/zlib_1.2.11.bb
index d4a81820df..ba216f679a 100644
--- a/meta/recipes-core/zlib/zlib_1.2.11.bb
+++ b/meta/recipes-core/zlib/zlib_1.2.11.bb
@@ -17,20 +17,22 @@ UPSTREAM_CHECK_URI = "http://zlib.net/"
17SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68" 17SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68"
18SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" 18SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066"
19 19
20CFLAGS += "-D_REENTRANT"
21
20RDEPENDS_${PN}-ptest += "make" 22RDEPENDS_${PN}-ptest += "make"
21 23
22inherit ptest 24inherit ptest
23 25
24do_configure (){ 26do_configure() {
25 ./configure --prefix=${prefix} --shared --libdir=${libdir} 27 uname=GNU ./configure --prefix=${prefix} --shared --libdir=${libdir}
26} 28}
27 29
28do_compile (){ 30do_compile() {
29 oe_runmake 31 oe_runmake shared
30} 32}
31 33
32do_compile_ptest() { 34do_compile_ptest() {
33 oe_runmake static shared 35 oe_runmake test
34} 36}
35 37
36do_install() { 38do_install() {