From 0ab8920e60e78e21a82c705bbda732178f2e1471 Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Wed, 5 Mar 2014 18:59:32 +0530 Subject: [PATCH] "-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 --- librtas.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librtas.spec b/librtas.spec index 6d0efff..3027427 100644 --- a/librtas.spec +++ b/librtas.spec @@ -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}