CI: Add -Wno-maybe-uninitialized for Fedora

This commit is contained in:
Jonas Kvinge
2025-01-10 22:31:35 +01:00
parent 9122881f74
commit 3e53d2b237

View File

@@ -105,7 +105,7 @@ Features:
%build
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos}
export CXXFLAGS="-fPIC $RPM_OPT_FLAGS"
export CXXFLAGS="-fPIC -Wno-maybe-uninitialized $RPM_OPT_FLAGS"
%endif
%if "%{?_vendor}" == "openmandriva"
%{cmake} -DBUILD_WERROR=ON