[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6465/8267] zlib: Pass pre-calculate uname enable re-entrant flags



commit 9feef47544603894fca04c51fff7506218370ff5
Author: Khem Raj <raj khem gmail com>
Date:   Tue Jun 13 16:13:44 2017 -0700

    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>

 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 d4a8182..ba216f6 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/";
 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() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]