LTO with clang does not configure correctly yet with meta-clang

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 meta-oe/recipes-extended/iotop/iotop_1.20.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-extended/iotop/iotop_1.20.bb 
b/meta-oe/recipes-extended/iotop/iotop_1.20.bb
index b05c8cd35d..a044c9b248 100644
--- a/meta-oe/recipes-extended/iotop/iotop_1.20.bb
+++ b/meta-oe/recipes-extended/iotop/iotop_1.20.bb
@@ -11,6 +11,8 @@ UPSTREAM_CHECK_URI = 
"https://github.com/Tomas-M/iotop/releases";
 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"
 
 # Workaround BFD linker crash with clang on arm
 # revisit when upgrading binutils and see if its fixed
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95045): 
https://lists.openembedded.org/g/openembedded-devel/message/95045
Mute This Topic: https://lists.openembedded.org/mt/88653907/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to