summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-05-03 17:41:36 -0700
committerKhem Raj <raj.khem@gmail.com>2023-05-03 21:24:55 -0700
commitc5f6d61ae2164ec69aa8a567fa7317f43d5d38fa (patch)
tree4192e98b6fde8d8c9f2d085a3d210bf6d35bfcbd /meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb
parentbe1fa63b69a415c70f71ed1446986fc3e33d888a (diff)
downloadmeta-openembedded-c5f6d61ae2164ec69aa8a567fa7317f43d5d38fa.tar.gz
python3-pyzstd: Disable LTO on clang+arm
clang-16 segfaults on arm while compiling with -flto Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb
index e7a6c21085..f132d91a69 100644
--- a/meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb
+++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb
@@ -11,3 +11,8 @@ PYPI_PACKAGE = "pyzstd"
11SRC_URI[sha256sum] = "55e503f28f5a9d225ce9d0639e3f5b1801bacace5aea926ec2998e73c5150fe7" 11SRC_URI[sha256sum] = "55e503f28f5a9d225ce9d0639e3f5b1801bacace5aea926ec2998e73c5150fe7"
12 12
13inherit pypi setuptools3 13inherit pypi setuptools3
14
15# clang-16 with -flto segfaults on arm, therefore ignore flto for now
16do_configure:append:arm:toolchain-clang() {
17 sed -i -e "s|'-flto'|''|" ${S}/setup.py
18}