rpm: Add BUILD_WERROR
This commit is contained in:
4
dist/unix/strawberry.spec.in
vendored
4
dist/unix/strawberry.spec.in
vendored
@@ -108,10 +108,10 @@ Features:
|
|||||||
export CXXFLAGS="-fPIC $RPM_OPT_FLAGS"
|
export CXXFLAGS="-fPIC $RPM_OPT_FLAGS"
|
||||||
%endif
|
%endif
|
||||||
%if "%{?_vendor}" == "openmandriva"
|
%if "%{?_vendor}" == "openmandriva"
|
||||||
%{cmake}
|
%{cmake} -DBUILD_WERROR=ON
|
||||||
%make_build
|
%make_build
|
||||||
%else
|
%else
|
||||||
%{cmake}
|
%{cmake} -DBUILD_WERROR=ON
|
||||||
%cmake_build
|
%cmake_build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user