Update config scripts for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-11-22 19:33:28 +02:00
parent 0f2308f3e5
commit ee05ad8d0e
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -7,7 +7,7 @@
Summary: Free firewire audio driver library
Name: libffado
Version: 2.4.6
Release: 3%{?dist}
Release: 3.0.riscv64%{?dist}
License: GPLv2 or GPLv3
URL: http://www.ffado.org/
Source0: http://www.ffado.org/files/%{name}-%{version}.tgz
@ -90,7 +90,11 @@ sed -i 's|/usr/bin/.*python$|/usr/bin/python3|' \
support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript \
support/tools/*.py support/tools/SConscript
find . -name 'config.sub' -exec cp -vf /usr/lib/rpm/%{?_vendor}/config.sub {} \;
find . -name 'config.guess' -exec cp -vf /usr/lib/rpm/%{?_vendor}/config.guess {} \;
%build
export CFLAGS="%{optflags} -ffast-math"
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
export LDFLAGS="%{build_ldflags}"
@ -165,6 +169,9 @@ appstream-util validate-relax --nonet \
%changelog
* Tue Nov 22 2022 David Abdurachmanov <davidlt@rivosinc.com> - 2.4.6-3.0.riscv64
- Update config scripts
* Sat Sep 03 2022 Nils Philippsen <nils@tiptoe.de> - 2.4.6-3
- Fix yet another int/float crash, this time in the crossbar router