From cb7310806778aacbf4191171213516bdcbafbfd8 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 14 Aug 2015 14:45:55 -0400 Subject: [PATCH] Pass ldflags into the build so hardening works --- keyutils.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/keyutils.spec b/keyutils.spec index 5ce185e..e0af6d6 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -9,7 +9,7 @@ Summary: Linux Key Management Utilities Name: keyutils Version: %{version} -Release: 6%{?buildid}%{?dist} +Release: 7%{?buildid}%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Base ExclusiveOS: Linux @@ -60,7 +60,8 @@ make \ SHAREDIR=%{datadir} \ RELEASE=.%{release} \ NO_GLIBC_KEYERR=1 \ - CFLAGS="-Wall $RPM_OPT_FLAGS -Werror" + CFLAGS="-Wall $RPM_OPT_FLAGS -Werror" \ + LDFLAGS="%{?__global_ldflags}" %install rm -rf $RPM_BUILD_ROOT @@ -111,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Aug 14 2015 Adam Jackson 1.5.9-7 +- Pass ldflags into the build so hardening works + * Wed Jun 17 2015 Fedora Release Engineering - 1.5.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild