mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 01:50:18 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user