iotop: Use lld with clang on arm

BFD linker is crashing when using clang, workaround it by always using
lld when using clang on arm

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2022-01-18 14:39:30 -08:00
parent 18902d643b
commit ec2cfccc2a
@@ -12,6 +12,10 @@ inherit pkgconfig
EXTRA_OEMAKE = "V=1 STRIP=true"
# Workaround BFD linker crash with clang on arm
# revisit when upgrading binutils and see if its fixed
LDFLAGS:append:toolchain-clang:arm = " -fuse-ld=lld"
do_install() {
oe_runmake install DESTDIR=${D}
}