"-Werror=format-security" compilation option complains about the way

we used some of the standard function (like snprintf) usage in our code.
Hence modified spec file to build binary without "-Werror=format-security"
option.

Note that this is the temporary workaround to build packages. We should
fix real issue in our code.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
This commit is contained in:
Vasant Hegde 2014-03-05 18:59:32 +05:30
parent dd72070cdb
commit 0ab8920e60

View File

@ -38,7 +38,7 @@ developing programs using librtas.
%patch1 -p1 -b .ln %patch1 -p1 -b .ln
%build %build
%{__make} CFLAGS="%{optflags} -fPIC -DPIC -I." %{?_smp_mflags} %{__make} CFLAGS="%{optflags} -fPIC -DPIC -I."
%install %install
mkdir -p %{buildroot}/%{_libdir} mkdir -p %{buildroot}/%{_libdir}