Build with RPM_LD_FLAGS exported in install section as well

epel8
Orcan Ogetbil 7 years ago
parent b23a06a3ac
commit c16fdf433d

@ -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 <oget[dot]fedora[at]gmail[dot]com> - 2.4.0-5
- Build with RPM_LD_FLAGS exported in install section as well
* Fri Feb 9 2018 Florian Weimer <fweimer@redhat.com> - 2.4.0-4
- Use LDFLAGS from redhat-rpm-config

Loading…
Cancel
Save