Update config.{sub,guess} scripts
Needed to detect riscv64. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
2d34efb195
commit
0425174087
@ -13,7 +13,7 @@
|
|||||||
Summary: Free firewire audio driver library
|
Summary: Free firewire audio driver library
|
||||||
Name: libffado
|
Name: libffado
|
||||||
Version: 2.4.8
|
Version: 2.4.8
|
||||||
Release: %autorelease
|
Release: %autorelease -e 0.riscv64
|
||||||
License: GPLv2 or GPLv3
|
License: GPLv2 or GPLv3
|
||||||
URL: http://www.ffado.org/
|
URL: http://www.ffado.org/
|
||||||
Source0: http://www.ffado.org/files/%{name}-%{version}.tgz
|
Source0: http://www.ffado.org/files/%{name}-%{version}.tgz
|
||||||
@ -98,6 +98,11 @@ Applications and utilities for use with libffado.
|
|||||||
support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript \
|
support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript \
|
||||||
support/tools/*.py support/tools/SConscript
|
support/tools/*.py support/tools/SConscript
|
||||||
|
|
||||||
|
%ifarch riscv64
|
||||||
|
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 {} \;
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -ffast-math"
|
export CFLAGS="%{optflags} -ffast-math"
|
||||||
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
|
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
|
||||||
|
Loading…
Reference in New Issue
Block a user