summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-python/recipes-devtools/python/python3-matplotlib_3.3.2.bb3
1 files changed, 3 insertions, 0 deletions
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 a2e7074d78..3cfa3f31f4 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
@@ -38,9 +38,12 @@ RDEPENDS_${PN} = "\
38 python3-pytz \ 38 python3-pytz \
39" 39"
40 40
41ENABLELTO_toolchain-clang_riscv64 = "echo enable_lto = False >> ${S}/setup.cfg"
42ENABLELTO_toolchain-clang_riscv32 = "echo enable_lto = False >> ${S}/setup.cfg"
41do_compile_prepend() { 43do_compile_prepend() {
42 echo [libs] > ${S}/setup.cfg 44 echo [libs] > ${S}/setup.cfg
43 echo system_freetype = true >> ${S}/setup.cfg 45 echo system_freetype = true >> ${S}/setup.cfg
46 ${ENABLELTO}
44} 47}
45 48
46BBCLASSEXTEND = "native" 49BBCLASSEXTEND = "native"