fix CFLAGS

This commit is contained in:
Karsten Hopp 2014-03-07 21:38:49 +01:00
parent 28c3094789
commit 3d66f91da4

View File

@ -42,7 +42,7 @@ developing programs using librtas.
# these errors in our code.
CFLAGS="%{optflags} -fPIC -DPIC -I."
CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'`
%{__make} $CFLAGS
%{__make} CFLAGS="$CFLAGS" %{?_smp_mflags}
%install
mkdir -p %{buildroot}/%{_libdir}