It needs lld with lto and lld does not yet support gnu_hash for mips

Signed-off-by: Khem Raj <[email protected]>
---
 meta-python/recipes-devtools/python/python3-matplotlib_3.3.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.3.2.bb 
b/meta-python/recipes-devtools/python/python3-matplotlib_3.3.2.bb
index 3cfa3f31f4..25709a1176 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.3.2.bb
@@ -26,6 +26,7 @@ inherit pypi setuptools3 pkgconfig
 
 # LTO with clang needs lld
 LDFLAGS_append_toolchain-clang = " -fuse-ld=lld"
+LDFLAGS_remove_toolchain-clang_mips = "-fuse-ld=lld"
 
 RDEPENDS_${PN} = "\
     freetype \
@@ -40,6 +41,7 @@ RDEPENDS_${PN} = "\
 
 ENABLELTO_toolchain-clang_riscv64 = "echo enable_lto = False >> ${S}/setup.cfg"
 ENABLELTO_toolchain-clang_riscv32 = "echo enable_lto = False >> ${S}/setup.cfg"
+ENABLELTO_toolchain-clang_mips = "echo enable_lto = False >> ${S}/setup.cfg"
 do_compile_prepend() {
     echo [libs] > ${S}/setup.cfg
     echo system_freetype = true >> ${S}/setup.cfg
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#88288): 
https://lists.openembedded.org/g/openembedded-devel/message/88288
Mute This Topic: https://lists.openembedded.org/mt/78958063/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to