diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-02-01 05:08:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-02 14:42:14 +0000 |
commit | 22e8a0cb730b7ff8b8ce4c409548b41ffd320dde (patch) | |
tree | 31647a9bc30b859540e27a866e149ef1f79fa1c1 /meta/recipes-support/lzo | |
parent | e1b45cb8e15458dde21f5e86ea1cbb619fb5c4cf (diff) | |
download | openembedded-core-22e8a0cb730b7ff8b8ce4c409548b41ffd320dde.tar.gz openembedded-core-22e8a0cb730b7ff8b8ce4c409548b41ffd320dde.tar.bz2 openembedded-core-22e8a0cb730b7ff8b8ce4c409548b41ffd320dde.zip |
db: Use cross libtool
db is not reconfigured like usual autotools based components so it
generates its own libtool, and this libtool is not equipped to do cross
builds, e.g. when building using clang on musl, it misdirects linker to
use libstdc++.so from build host instead of target, the reason being it
does not understand sysroot.
Use cross libtool instead to build the target versions
Fixes errors like below
| libtool: link: arm-oe-linux-musleabi-ranlib .libs/libdb-6.0.a
|
/a/builder/mnt/build-oe/tmp-musl/sysroots/x86_64-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-ld:
error: /usr/lib/libstdc++.so: incompatible target
(From OE-Core rev: d14b5e650e1e55e30abbd884a6bbd9b4feacd923)
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/recipes-support/lzo')
0 files changed, 0 insertions, 0 deletions