From bf3d731112abcefa534280a3bef7de071d5f377c Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Mon, 10 Mar 2014 11:27:54 +0530 Subject: [PATCH] fix CFLAGS Signed-off-by: Vasant Hegde --- libservicelog.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libservicelog.spec b/libservicelog.spec index a984f28..d02c874 100644 --- a/libservicelog.spec +++ b/libservicelog.spec @@ -1,6 +1,6 @@ Name: libservicelog Version: 1.1.14 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Servicelog Database and Library Group: System Environment/Libraries @@ -46,9 +46,9 @@ autoreconf -fiv %configure --disable-static # disable "-Werror=format-security" checking gcc option until we fix # these errors are fixed in upstream code. -CFLAG="%{?_smp_mflags} -fPIC -DPIC" -CFLAG=`echo $CFLAG | sed 's/-Werror=format-security//'` -%{__make} $CFLAGS +CFLAGS="%{optflags} -fPIC -DPIC" +CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'` +%{__make} CFLAGS="$CFLAGS" %{?_smp_mflags} %install @@ -84,6 +84,9 @@ getent group service >/dev/null || /usr/sbin/groupadd service %changelog +* Mon Mar 10 2014 Vasant Hegde - 1.1.14-5 +- Fix CFLAGS + * Fri Mar 07 2014 Vasant Hegde - 1.1.14-4 - Disable "-Werror=format-security" gcc option