Accepting request 705217 from home:marxin:branches:devel:languages:python

-  Use -fno-strict-aliasing in order to bypass:
   https://github.com/Legrandin/pycryptodome/issues/291.

OBS-URL: https://build.opensuse.org/request/show/705217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=26
This commit is contained in:
Tomáš Chvátal 2019-05-24 11:41:05 +00:00 committed by Git OBS Bridge
parent 284c16bbb6
commit e7f8e07731
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 24 11:36:30 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use -fno-strict-aliasing in order to bypass:
https://github.com/Legrandin/pycryptodome/issues/291.
-------------------------------------------------------------------
Tue May 14 13:03:34 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -84,7 +84,9 @@ Python. Only the pieces that are extremely critical to performance
%setup -q -n pycryptodome-%{version}
%build
export CFLAGS="%{optflags}"
# Use -fno-strict-aliasing in order to bypass:
# https://github.com/Legrandin/pycryptodome/issues/291
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%install