]> code.ossystems Code Review - openembedded-core.git/commit
busybox: Use CCLD
authorDrew Moseley <drew_moseley@mentor.com>
Thu, 3 Apr 2014 22:39:31 +0000 (18:39 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 5 Apr 2014 13:53:29 +0000 (14:53 +0100)
commit088d2f0185da6648305b4719ee9cb0d2f2b37c6f
treeb0d2466041162180f98058da932ed8ead8d5d5f0
parent9cedc786ba132935748bdca8bc33b56c366b531e
busybox: Use CCLD

Use the CCLD variable to ensure proper tuning parameters.
Notably when building on a x86-64 host with an i686 toolchain
there is an error building built-in.o because it is trying to
link 32-bit and 64-bit object files:

     i686-pc-linux-gnu-ld --sysroot=/work/dmoseley/Mentor/amd-2014.05/build.genericx86-64-external/tmp/sysroots/genericx86-64     -r -o applets/built-in.o applets/ap
     i686-pc-linux-gnu-ld: Relocatable linking with relocations from format elf64-x86-64 (applets/applets.o) to format elf32-i386 (applets/built-in.o) is not support
     make[1]: *** [applets/built-in.o] Error 1

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc