From c5f6d61ae2164ec69aa8a567fa7317f43d5d38fa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 3 May 2023 17:41:36 -0700 Subject: python3-pyzstd: Disable LTO on clang+arm clang-16 segfaults on arm while compiling with -flto Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-pyzstd_0.15.7.bb') 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" SRC_URI[sha256sum] = "55e503f28f5a9d225ce9d0639e3f5b1801bacace5aea926ec2998e73c5150fe7" inherit pypi setuptools3 + +# clang-16 with -flto segfaults on arm, therefore ignore flto for now +do_configure:append:arm:toolchain-clang() { + sed -i -e "s|'-flto'|''|" ${S}/setup.py +} -- cgit v1.2.3-54-g00ecf