zlib: Pass pre-calculate uname enable re-entrant flags
Fix ptest generation (From OE-Core rev: 07f4b0f016225e2b211689a270e56b2923ecb434) (From OE-Core rev: b99dd747eb8723010f37660de434dde329e7958b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0e80156a99
commit
4c78660fb4
|
@ -17,20 +17,22 @@ UPSTREAM_CHECK_URI = "http://zlib.net/"
|
|||
SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68"
|
||||
SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066"
|
||||
|
||||
CFLAGS += "-D_REENTRANT"
|
||||
|
||||
RDEPENDS_${PN}-ptest += "make"
|
||||
|
||||
inherit ptest
|
||||
|
||||
do_configure (){
|
||||
./configure --prefix=${prefix} --shared --libdir=${libdir}
|
||||
do_configure() {
|
||||
uname=GNU ./configure --prefix=${prefix} --shared --libdir=${libdir}
|
||||
}
|
||||
|
||||
do_compile (){
|
||||
oe_runmake
|
||||
do_compile() {
|
||||
oe_runmake shared
|
||||
}
|
||||
|
||||
do_compile_ptest() {
|
||||
oe_runmake static shared
|
||||
oe_runmake test
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in New Issue