iotop: Disable lto with clang for rv32

clang/rv32 is mixing ABIs because defaults are ilp32d for OE but when LTO
is used it pulls in ilp32 internally so disable lto for now.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2022-02-20 16:51:09 -08:00
parent 5f62cb59a4
commit bfd22261ef
@@ -13,6 +13,7 @@ inherit pkgconfig
EXTRA_OEMAKE = "V=1 STRIP=true"
# Fixes llvm-bc70b5.o: can't link soft-float modules with double-float modules
EXTRA_OEMAKE:append:toolchain-clang:riscv64 = " NO_FLTO=1"
EXTRA_OEMAKE:append:toolchain-clang:riscv32 = " NO_FLTO=1"
# Workaround BFD linker crash with clang on arm
# revisit when upgrading binutils and see if its fixed