diff --git a/dist/unix/strawberry.spec.in b/dist/unix/strawberry.spec.in index cf9ede2b0..e12ddcf78 100644 --- a/dist/unix/strawberry.spec.in +++ b/dist/unix/strawberry.spec.in @@ -108,10 +108,10 @@ Features: export CXXFLAGS="-fPIC $RPM_OPT_FLAGS" %endif %if "%{?_vendor}" == "openmandriva" -%{cmake} +%{cmake} -DBUILD_WERROR=ON %make_build %else -%{cmake} +%{cmake} -DBUILD_WERROR=ON %cmake_build %endif