diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-13 16:13:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:44:14 +0100 |
commit | 9feef47544603894fca04c51fff7506218370ff5 (patch) | |
tree | 861c5cd59b99507a4e69154e519d197ff6b75ae2 | |
parent | f930cbc521c431a1322f5b1cecc95686aa56a043 (diff) | |
download | poky-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.bb | 12 |
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/" | |||
17 | SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68" | 17 | SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68" |
18 | SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" | 18 | SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" |
19 | 19 | ||
20 | CFLAGS += "-D_REENTRANT" | ||
21 | |||
20 | RDEPENDS_${PN}-ptest += "make" | 22 | RDEPENDS_${PN}-ptest += "make" |
21 | 23 | ||
22 | inherit ptest | 24 | inherit ptest |
23 | 25 | ||
24 | do_configure (){ | 26 | do_configure() { |
25 | ./configure --prefix=${prefix} --shared --libdir=${libdir} | 27 | uname=GNU ./configure --prefix=${prefix} --shared --libdir=${libdir} |
26 | } | 28 | } |
27 | 29 | ||
28 | do_compile (){ | 30 | do_compile() { |
29 | oe_runmake | 31 | oe_runmake shared |
30 | } | 32 | } |
31 | 33 | ||
32 | do_compile_ptest() { | 34 | do_compile_ptest() { |
33 | oe_runmake static shared | 35 | oe_runmake test |
34 | } | 36 | } |
35 | 37 | ||
36 | do_install() { | 38 | do_install() { |