diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-11-29 18:25:33 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-11-29 22:02:15 -0800 |
| commit | f623d8b5741a8d9060a6be025cfdcfa479dd3fb3 (patch) | |
| tree | 1351f88c93e2b2c1f0b86c17f157af60b7ec547b /meta-python | |
| parent | bf5aeb92c06c33c11b361853d0a0aaa5e0f61d33 (diff) | |
| download | meta-openembedded-f623d8b5741a8d9060a6be025cfdcfa479dd3fb3.tar.gz | |
python3-matplotlib: Disable LTO for clang/riscv
LTO fails to link on RV32/RV64
| Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (
ignoring target-abi)
| riscv64-yoe-linux-ld.lld: error: lto.tmp: cannot link object files with different floating-point ABI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-matplotlib_3.3.2.bb | 3 |
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 | ||
| 41 | ENABLELTO_toolchain-clang_riscv64 = "echo enable_lto = False >> ${S}/setup.cfg" | ||
| 42 | ENABLELTO_toolchain-clang_riscv32 = "echo enable_lto = False >> ${S}/setup.cfg" | ||
| 41 | do_compile_prepend() { | 43 | do_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 | ||
| 46 | BBCLASSEXTEND = "native" | 49 | BBCLASSEXTEND = "native" |
