Build with CFLAGS="${optflags}"

This commit is contained in:
Paul Moore 2014-02-27 14:46:55 -05:00
parent c7faad3140
commit ee96237f60

View File

@ -1,7 +1,7 @@
Summary: Enhanced seccomp library
Name: libseccomp
Version: 2.1.1
Release: 1%{?dist}
Release: 2%{?dist}
ExclusiveArch: %{ix86} x86_64 %{arm}
License: LGPLv2
Group: System Environment/Libraries
@ -33,7 +33,7 @@ Kernel.
%build
./configure --prefix="%{_prefix}" --libdir="%{_libdir}"
make V=1 %{?_smp_mflags}
CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
%install
rm -rf "%{buildroot}"
@ -64,6 +64,8 @@ make check
%{_mandir}/man3/*
%changelog
* Thu Feb 27 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-2
- Build with CFLAGS="${optflags}"
* Mon Feb 17 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-1
- Removed the kernel dependency (RHBZ #1065572)
* Thu Oct 31 2013 Paul Moore <pmoore@redhat.com> - 2.1.1-0