14
0
2023-06-20 17:14:00 +00:00
committed by Git OBS Bridge
parent 7fafc344c8
commit d024f843b5
2 changed files with 4 additions and 2 deletions

View File

@@ -91,6 +91,8 @@ cp %{SOURCE3} .cargo/config
rm -v src/rust/Cargo.lock
%build
# https://github.com/pyca/cryptography/issues/9023
%global _lto_cflags %{nil}
export RUSTFLAGS=%{rustflags}
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build