mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
be1fa63b69
commit
c5f6d61ae2
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user