[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1395/8267] db: Use cross libtool



commit 4a5de974e75fb909628ae57cc558c0d46cabfd18
Author: Khem Raj <raj khem gmail com>
Date:   Tue Jul 12 10:10:17 2016 -0700

    db: Use cross libtool
    
    Reintroduce the use of cross-libtool when building the target package
    this fails otherwise with clang
    
    | ./libtool --mode=execute true db_printlog
    | /usr/lib/libstdc++.so: file not recognized: File format not recognized
    | clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
    
    (From OE-Core rev: f9fab69a15a71f541f93fb38319de03ad07b1bf5)
    
    Signed-off-by: Khem Raj <raj khem gmail com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-support/db/db_5.3.28.bb |    1 +
 meta/recipes-support/db/db_6.0.30.bb |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta/recipes-support/db/db_5.3.28.bb
index 6b0e76b..0b51a1d 100644
--- a/meta/recipes-support/db/db_5.3.28.bb
+++ b/meta/recipes-support/db/db_5.3.28.bb
@@ -70,6 +70,7 @@ MUTEX = ""
 MUTEX_arm = "${ARM_MUTEX}"
 MUTEX_armeb = "${ARM_MUTEX}"
 EXTRA_OECONF += "${MUTEX} STRIP=true"
+EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"
 
 AUTOTOOLS_SCRIPT_PATH = "${S}/dist"
 
diff --git a/meta/recipes-support/db/db_6.0.30.bb b/meta/recipes-support/db/db_6.0.30.bb
index 0852820..072cbdf 100644
--- a/meta/recipes-support/db/db_6.0.30.bb
+++ b/meta/recipes-support/db/db_6.0.30.bb
@@ -87,6 +87,7 @@ MUTEX = ""
 MUTEX_arm = "${ARM_MUTEX}"
 MUTEX_armeb = "${ARM_MUTEX}"
 EXTRA_OECONF += "${MUTEX}"
+EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"
 EXTRA_OEMAKE += "STRIP=true"
 
 do_compile_prepend() {


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