From 59021c42c47aa92e585819449be10ce5ed7a5fe9 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 9 May 2018 11:41:58 +0100 Subject: [PATCH] Fix partial build flags injection (bug #1573111). --- symlinks.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/symlinks.spec b/symlinks.spec index c772cc1..78e1bfc 100644 --- a/symlinks.spec +++ b/symlinks.spec @@ -2,7 +2,7 @@ Summary: A utility which maintains a system's symbolic links Name: symlinks URL: ftp://metalab.unc.edu/pub/Linux/utils/file/ Version: 1.4 -Release: 17%{?dist} +Release: 18%{?dist} Group: Applications/System License: Copyright only Source0: http://ibiblio.org/pub/Linux/utils/file/%{name}-%{version}.tar.gz @@ -31,7 +31,7 @@ cp %{SOURCE1} . %patch2 -p1 -b .coverity-overrun-dynamic %build -make CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)" %{?_smp_mflags} +make CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) %{build_ldflags}" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -47,6 +47,9 @@ install -m 644 symlinks.8 $RPM_BUILD_ROOT%{_mandir}/man8 %{_mandir}/man8/symlinks.8* %changelog +* Wed May 09 2018 Tim Waugh - 1.4-18 +- Fix partial build flags injection (bug #1573111). + * Fri Feb 09 2018 Fedora Release Engineering - 1.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild