"-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:
parent
dd72070cdb
commit
0ab8920e60
@ -38,7 +38,7 @@ developing programs using librtas.
|
||||
%patch1 -p1 -b .ln
|
||||
|
||||
%build
|
||||
%{__make} CFLAGS="%{optflags} -fPIC -DPIC -I." %{?_smp_mflags}
|
||||
%{__make} CFLAGS="%{optflags} -fPIC -DPIC -I."
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_libdir}
|
||||
|
Loading…
Reference in New Issue
Block a user