ply: Demand BFD linker explicitly

Default ld on OE could be either gold/bfd/lld, here its assuming ld to
ld.bfd which is not right assumption when it really should ask for BFD
linker since its relying on its options

see src/ply/Makefile.am

$(LD) -r -b binary -o $(abs_builddir)/self-test.o self-test.sh

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2023-06-11 12:29:24 -07:00
parent 54885a5af2
commit 9859646174
+2
View File
@@ -12,6 +12,8 @@ SRCREV = "864fac79116870df1ab7aa21e639578807e41e75"
S = "${WORKDIR}/git"
LD = "${HOST_PREFIX}ld.bfd${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
inherit autotools-brokensep
COMPATIBLE_HOST = "(x86_64.*|aarch64.*|arm.*|powerpc)-linux"