diff options
author | David Howells <dhowells@redhat.com> | 2017-03-15 22:26:06 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-03-15 22:26:06 +0000 |
commit | 9ac78a0ac90fe944f3c76fbb8a84b88796851d32 (patch) | |
tree | d5c38a334ca0e2a164cf6793380cb93c5eeae5d2 | |
parent | 308119c61e94bcc4c710404b9f679e3bb8316713 (diff) | |
download | keyutils-9ac78a0ac90fe944f3c76fbb8a84b88796851d32.tar.gz |
spec: Pass global ldflags into build
Pass global ldflags into build so that hardening works.
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | keyutils.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyutils.spec b/keyutils.spec index 1cbcf86..8b3b4b2 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -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 |