From 0425174087760c7b48075c4cb67a31707c81fbf1 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 1 Aug 2024 13:14:21 +0300 Subject: [PATCH] Update config.{sub,guess} scripts Needed to detect riscv64. Signed-off-by: David Abdurachmanov --- libffado.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libffado.spec b/libffado.spec index 9a221b7..d996752 100644 --- a/libffado.spec +++ b/libffado.spec @@ -13,7 +13,7 @@ Summary: Free firewire audio driver library Name: libffado Version: 2.4.8 -Release: %autorelease +Release: %autorelease -e 0.riscv64 License: GPLv2 or GPLv3 URL: http://www.ffado.org/ 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/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 export CFLAGS="%{optflags} -ffast-math" export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"