From ee96237f601bb3f840ebdd7dc02594e439ead82c Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Thu, 27 Feb 2014 14:46:55 -0500 Subject: [PATCH] Build with CFLAGS="${optflags}" --- libseccomp.spec | 6 ++++-- 1 file 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 - 2.1.1-2 +- Build with CFLAGS="${optflags}" * Mon Feb 17 2014 Paul Moore - 2.1.1-1 - Removed the kernel dependency (RHBZ #1065572) * Thu Oct 31 2013 Paul Moore - 2.1.1-0