Disable Pythran on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-29 21:01:17 +02:00
parent 35a25c615d
commit dab09452d1
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -4,7 +4,11 @@
# Pythran is an optional build dependency.
# When used, it makes some modules faster,
# but it is usually not available soon enough for new major Python versions.
%ifnarch riscv64
%bcond_without pythran
%else
%bcond_with pythran
%endif
# The code is not safe to build with LTO
%global _lto_cflags %{nil}