Workaround a crash on %%ix86
This commit is contained in:
parent
26a34e8c0c
commit
e8ee8b630a
@ -4,7 +4,7 @@ Python bindings for the AWS Common Runtime}
|
||||
|
||||
Name: python-awscrt
|
||||
Version: 0.16.13
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
Summary: Python bindings for the AWS Common Runtime
|
||||
# All files are licensed under Apache-2.0, except:
|
||||
@ -56,6 +56,11 @@ Summary: %{summary}
|
||||
|
||||
|
||||
%build
|
||||
%ifarch %{ix86}
|
||||
# disable SSE2 instructions to prevent a crash in aws-c-common thread handling
|
||||
# probably caused by a compiler bug
|
||||
export CFLAGS="%{optflags} -mno-sse2"
|
||||
%endif
|
||||
export AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1
|
||||
%pyproject_wheel
|
||||
|
||||
@ -74,5 +79,8 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}" %{py
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 22 2023 Nikola Forró <nforro@redhat.com> - 0.16.13-2
|
||||
- Workaround a crash on %%ix86
|
||||
|
||||
* Thu Mar 16 2023 Nikola Forró <nforro@redhat.com> - 0.16.13-1
|
||||
- Initial package
|
||||
|
Loading…
Reference in New Issue
Block a user