]> code.ossystems Code Review - openembedded-core.git/commit
v86d: Fix cross link using host-cross ar
authorJason Wessel <jason.wessel@windriver.com>
Fri, 8 Jun 2012 21:57:56 +0000 (16:57 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jun 2012 12:47:50 +0000 (13:47 +0100)
commit4bb926513084dfa6ebf5598a177239315530276e
tree89fb5f181dc03591cd99c9cdae7099b528c5e663
parenta02878d05e6b57f2455228785ea5f213a62ed976
v86d: Fix cross link using host-cross ar

If building on 32bit host and creating 64bit libraries, the target
package builds should not invoke the 32bit hosts's ar.  Specifically
you will get an error message like:

x86_64-linux-gcc  -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Llibs/x86emu v86_x86emu.o v86_mem.o v86_common.o  v86.o -lx86emu -o v86d
libs/x86emu/libx86emu.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/v86d/v86d/ar-from-env.patch [new file with mode: 0644]
meta/recipes-bsp/v86d/v86d_0.1.10.bb