rpm: Add BUILD_WERROR

This commit is contained in:
Jonas Kvinge
2025-01-10 21:56:42 +01:00
parent a4a365cbee
commit 9c36d7fd43

View File

@@ -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