fix CFLAGS
This commit is contained in:
parent
377db7292d
commit
28c3094789
@ -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 <karsten@redhat.com> 1.3.9-3
|
||||
- fix CFLAGS
|
||||
|
||||
* Thu Mar 06 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.3.9-2
|
||||
- Disable "-Werror=format-security" gcc option
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user