From 28c309478921e3d539ae5b2908f14333a959a81f Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Fri, 7 Mar 2014 20:51:24 +0100 Subject: [PATCH] fix CFLAGS --- librtas.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/librtas.spec b/librtas.spec index 1b228d3..8aeb60c 100644 --- a/librtas.spec +++ b/librtas.spec @@ -1,7 +1,7 @@ Summary: Libraries to provide access to RTAS calls and RTAS events Name: librtas Version: 1.3.9 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://librtas.ozlabs.org License: CPL Group: System Environment/Libraries @@ -40,8 +40,8 @@ developing programs using librtas. %build # disable "-Werror=format-security" checking gcc option until we fix # these errors in our code. -CFLAG="%{optflags} -fPIC -DPIC -I." -CFLAG=`echo $CFLAG | sed 's/-Werror=format-security//'` +CFLAGS="%{optflags} -fPIC -DPIC -I." +CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'` %{__make} $CFLAGS %install @@ -76,6 +76,9 @@ mkdir -p %{buildroot}/%{_libdir} %{_libdir}/libofdt.so %changelog +* Fri Mar 07 2014 Karsten Hopp 1.3.9-3 +- fix CFLAGS + * Thu Mar 06 2014 Vasant Hegde - 1.3.9-2 - Disable "-Werror=format-security" gcc option