From b23a06a3acee6741e7f49cdae8b483c68874d489 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 9 Feb 2018 12:22:54 +0100 Subject: [PATCH] Use LDFLAGS from redhat-rpm-config --- libffado.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libffado.spec b/libffado.spec index 85db7c2..eeadd6d 100644 --- a/libffado.spec +++ b/libffado.spec @@ -1,7 +1,7 @@ Summary: Free firewire audio driver library Name: libffado Version: 2.4.0 -Release: 3%{?dist} +Release: 4%{?dist} # src/libutil/float_cast.h is LGPLv2+. # The rest is (GPLv2 or GPLv3) License: LGPLv2+ and (GPLv2 or GPLv3) @@ -90,6 +90,7 @@ sed -i 's|hi64-apps-ffado.png|ffado.png|' support/mixer-qt4/ffado/ffadowindow.py %build export CFLAGS="%{optflags} -ffast-math" export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11" +export LDFLAGS="%{build_ldflags}" scons %{?_smp_mflags} \ ENABLE_SETBUFFERSIZE_API_VER=True \ ENABLE_OPTIMIZATIONS=True \ @@ -149,6 +150,9 @@ install -m 755 tests/ffado-test %{buildroot}%{_bindir} %changelog +* Fri Feb 9 2018 Florian Weimer - 2.4.0-4 +- Use LDFLAGS from redhat-rpm-config + * Wed Feb 07 2018 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild