diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-12-14 09:37:46 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-12-15 00:52:55 -0800 |
commit | 566fe41c1c918cb98402fa9dca8f2386719ee94e (patch) | |
tree | 14a482db1da80e8d103599f6499c9ff53e6a002f /meta-python/recipes-devtools/python | |
parent | 73dd8a4c83decd475e4c775f8f2b9b2224f17fa0 (diff) | |
download | meta-openembedded-566fe41c1c918cb98402fa9dca8f2386719ee94e.tar.gz |
python3-matplotlib: Disable LTO on mips/clang
It needs lld with lto and lld does not yet support gnu_hash for mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-matplotlib_3.3.2.bb | 2 |
1 files changed, 2 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 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 | |||
26 | 26 | ||
27 | # LTO with clang needs lld | 27 | # LTO with clang needs lld |
28 | LDFLAGS_append_toolchain-clang = " -fuse-ld=lld" | 28 | LDFLAGS_append_toolchain-clang = " -fuse-ld=lld" |
29 | LDFLAGS_remove_toolchain-clang_mips = "-fuse-ld=lld" | ||
29 | 30 | ||
30 | RDEPENDS_${PN} = "\ | 31 | RDEPENDS_${PN} = "\ |
31 | freetype \ | 32 | freetype \ |
@@ -40,6 +41,7 @@ RDEPENDS_${PN} = "\ | |||
40 | 41 | ||
41 | ENABLELTO_toolchain-clang_riscv64 = "echo enable_lto = False >> ${S}/setup.cfg" | 42 | ENABLELTO_toolchain-clang_riscv64 = "echo enable_lto = False >> ${S}/setup.cfg" |
42 | ENABLELTO_toolchain-clang_riscv32 = "echo enable_lto = False >> ${S}/setup.cfg" | 43 | ENABLELTO_toolchain-clang_riscv32 = "echo enable_lto = False >> ${S}/setup.cfg" |
44 | ENABLELTO_toolchain-clang_mips = "echo enable_lto = False >> ${S}/setup.cfg" | ||
43 | do_compile_prepend() { | 45 | do_compile_prepend() { |
44 | echo [libs] > ${S}/setup.cfg | 46 | echo [libs] > ${S}/setup.cfg |
45 | echo system_freetype = true >> ${S}/setup.cfg | 47 | echo system_freetype = true >> ${S}/setup.cfg |