diff --git a/lua-luadbi.spec b/lua-luadbi.spec index 1e2bc42..73cae38 100644 --- a/lua-luadbi.spec +++ b/lua-luadbi.spec @@ -52,8 +52,11 @@ Oracle. %setup -q -n luadbi-%{version} %patch0 -p1 +sed -i \ + -e :-g -pedantic -Wall -O2:%{optflags} -fPIC -I%{lua_incdir}:g \ + Makefile + %build -export CFLAGS="%{optflags} -fPIC" make %{?_smp_mflags} LIBDIR=%{_libdir} %install