[libseccomp] Build with CFLAGS="${optflags}"
pcmoore
pcmoore at fedoraproject.org
Thu Feb 27 19:47:22 UTC 2014
commit ee96237f601bb3f840ebdd7dc02594e439ead82c
Author: Paul Moore <pmoore at redhat.com>
Date: Thu Feb 27 14:46:55 2014 -0500
Build with CFLAGS="${optflags}"
libseccomp.spec | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libseccomp.spec b/libseccomp.spec
index 9b45250..bc4036f 100644
--- a/libseccomp.spec
+++ b/libseccomp.spec
@@ -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 at redhat.com> - 2.1.1-2
+- Build with CFLAGS="${optflags}"
* Mon Feb 17 2014 Paul Moore <pmoore at redhat.com> - 2.1.1-1
- Removed the kernel dependency (RHBZ #1065572)
* Thu Oct 31 2013 Paul Moore <pmoore at redhat.com> - 2.1.1-0
More information about the scm-commits
mailing list