Export ldflags into the build so hardening works

This commit is contained in:
Adam Jackson 2015-08-14 14:51:07 -04:00
parent 137759fab5
commit b7e1bdd317
1 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 2.4
Release: 1%{?dist}.1
Release: 2%{?dist}
License: Public Domain
Group: System Environment/Libraries
# https://github.com/SELinuxProject/selinux/wiki/Releases
@ -105,6 +105,8 @@ needed for developing SELinux applications.
%patch1 -p1 -b .rhat
%build
export LDFLAGS="%{?__global_ldflags}"
# To support building the Python wrapper against multiple Python runtimes
# Define a function, for how to perform a "build" of the python wrapper against
# a specific runtime:
@ -245,6 +247,9 @@ rm -rf %{buildroot}
%{ruby_vendorarchdir}/selinux.so
%changelog
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.4-2
- Export ldflags into the build so hardening works
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-1.1
- Update to 2.4 release