Use LDFLAGS from redhat-rpm-config

epel8
Florian Weimer 7 years ago
parent 4c780298da
commit b23a06a3ac

@ -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 <fweimer@redhat.com> - 2.4.0-4
- Use LDFLAGS from redhat-rpm-config
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save