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
|
Name: libservicelog
|
||||||
Version: 1.1.14
|
Version: 1.1.14
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Servicelog Database and Library
|
Summary: Servicelog Database and Library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -46,9 +46,9 @@ autoreconf -fiv
|
|||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
# disable "-Werror=format-security" checking gcc option until we fix
|
# disable "-Werror=format-security" checking gcc option until we fix
|
||||||
# these errors are fixed in upstream code.
|
# these errors are fixed in upstream code.
|
||||||
CFLAG="%{?_smp_mflags} -fPIC -DPIC"
|
CFLAGS="%{optflags} -fPIC -DPIC"
|
||||||
CFLAG=`echo $CFLAG | sed 's/-Werror=format-security//'`
|
CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'`
|
||||||
%{__make} $CFLAGS
|
%{__make} CFLAGS="$CFLAGS" %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -84,6 +84,9 @@ getent group service >/dev/null || /usr/sbin/groupadd service
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Mar 07 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.1.14-4
|
||||||
- Disable "-Werror=format-security" gcc option
|
- Disable "-Werror=format-security" gcc option
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user