From 98d96458afdc62faee0f1725fe0c374a7dded431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Thu, 12 Apr 2018 09:34:31 +0200 Subject: [PATCH] Use LDFLAGS when linking executables Resolves: rhbz#1548691 --- lm_sensors.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lm_sensors.spec b/lm_sensors.spec index 1300d2d..7a46a95 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -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 - 3.4.0-12 +- Use LDFLAGS when linking executables +- Resolves: rhbz#1548691 + * Mon Apr 09 2018 Rafael Santos - 3.4.0-11 - Use standard Fedora build and linker flags (bug #1548691)