diff --git a/libffado.spec b/libffado.spec index eeadd6d..064300c 100644 --- a/libffado.spec +++ b/libffado.spec @@ -1,7 +1,7 @@ Summary: Free firewire audio driver library Name: libffado Version: 2.4.0 -Release: 4%{?dist} +Release: 5%{?dist} # src/libutil/float_cast.h is LGPLv2+. # The rest is (GPLv2 or GPLv3) License: LGPLv2+ and (GPLv2 or GPLv3) @@ -106,6 +106,7 @@ scons %{?_smp_mflags} \ # Exporting flags so that the install does not trigger another build export CFLAGS="%{optflags} -ffast-math" export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11" +export LDFLAGS="%{build_ldflags}" scons DESTDIR=%{buildroot} \ install @@ -150,6 +151,9 @@ install -m 755 tests/ffado-test %{buildroot}%{_bindir} %changelog +* Sat Feb 10 2018 Orcan Ogetbil - 2.4.0-5 +- Build with RPM_LD_FLAGS exported in install section as well + * Fri Feb 9 2018 Florian Weimer - 2.4.0-4 - Use LDFLAGS from redhat-rpm-config