fix CFLAGS
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
This commit is contained in:
parent
1730b326e7
commit
bf3d731112
@ -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 <hegdevasant@linux.vnet.ibm.com> - 1.1.14-5
|
||||
- Fix CFLAGS
|
||||
|
||||
* Fri Mar 07 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.1.14-4
|
||||
- Disable "-Werror=format-security" gcc option
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user