diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-07-12 10:10:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:28:47 +0100 |
commit | 4a5de974e75fb909628ae57cc558c0d46cabfd18 (patch) | |
tree | 355b5b937ee36af7fd7ebe3ae8d0b0d9c501cbee /meta | |
parent | 15ba3c1a96b49af836c46ce474c85413d8116122 (diff) | |
download | poky-4a5de974e75fb909628ae57cc558c0d46cabfd18.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/db/db_5.3.28.bb | 1 | ||||
-rw-r--r-- | 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 6b0e76b1a3..0b51a1d440 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 = "" | |||
70 | MUTEX_arm = "${ARM_MUTEX}" | 70 | MUTEX_arm = "${ARM_MUTEX}" |
71 | MUTEX_armeb = "${ARM_MUTEX}" | 71 | MUTEX_armeb = "${ARM_MUTEX}" |
72 | EXTRA_OECONF += "${MUTEX} STRIP=true" | 72 | EXTRA_OECONF += "${MUTEX} STRIP=true" |
73 | EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" | ||
73 | 74 | ||
74 | AUTOTOOLS_SCRIPT_PATH = "${S}/dist" | 75 | AUTOTOOLS_SCRIPT_PATH = "${S}/dist" |
75 | 76 | ||
diff --git a/meta/recipes-support/db/db_6.0.30.bb b/meta/recipes-support/db/db_6.0.30.bb index 08528206f9..072cbdf217 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 = "" | |||
87 | MUTEX_arm = "${ARM_MUTEX}" | 87 | MUTEX_arm = "${ARM_MUTEX}" |
88 | MUTEX_armeb = "${ARM_MUTEX}" | 88 | MUTEX_armeb = "${ARM_MUTEX}" |
89 | EXTRA_OECONF += "${MUTEX}" | 89 | EXTRA_OECONF += "${MUTEX}" |
90 | EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" | ||
90 | EXTRA_OEMAKE += "STRIP=true" | 91 | EXTRA_OEMAKE += "STRIP=true" |
91 | 92 | ||
92 | do_compile_prepend() { | 93 | do_compile_prepend() { |