From 9c36d7fd43f3c1e7fbb21418d137b4e0a47d1429 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 10 Jan 2025 21:56:42 +0100 Subject: [PATCH] rpm: Add BUILD_WERROR --- dist/unix/strawberry.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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