Use LDFLAGS when linking executables
Resolves: rhbz#1548691
This commit is contained in:
parent
482ee00b09
commit
98d96458af
@ -1,6 +1,6 @@
|
||||
Name: lm_sensors
|
||||
Version: 3.4.0
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Summary: Hardware monitoring tools
|
||||
Group: Applications/System
|
||||
License: LGPLv2+ and GPLv3+ and GPLv2+ and Verbatim and Public Domain
|
||||
@ -76,8 +76,8 @@ sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" lm_sensors.service
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} EXLDFLAGS= \
|
||||
PROG_EXTRA=sensord user
|
||||
make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \
|
||||
EXLDFLAGS="$LDFLAGS" PROG_EXTRA=sensord user
|
||||
|
||||
|
||||
%install
|
||||
@ -181,6 +181,10 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 12 2018 Ondřej Lysoněk <olysonek@redhat.com> - 3.4.0-12
|
||||
- Use LDFLAGS when linking executables
|
||||
- Resolves: rhbz#1548691
|
||||
|
||||
* Mon Apr 09 2018 Rafael Santos <rdossant@redhat.com> - 3.4.0-11
|
||||
- Use standard Fedora build and linker flags (bug #1548691)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user