diff --git a/ucx.spec b/ucx.spec index 1173280..9bcee2d 100644 --- a/ucx.spec +++ b/ucx.spec @@ -16,7 +16,7 @@ Name: ucx Version: 1.8.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: UCX is a communication library implementing high-performance messaging License: BSD @@ -91,6 +91,9 @@ Provides header files and examples for developing with UCX. %patch -p1 %build +# gcc-11 emits a diagnostic for some fishy casting. The code is probably OK. +# Disable the diagnostic for now +export CFLAGS="$RPM_OPT_FLAGS -Wno-array-bounds" %define _with_arg() %{expand:%%{?with_%{1}:--with-%{2}}%%{!?with_%{1}:--without-%{2}}} %define _enable_arg() %{expand:%%{?with_%{1}:--enable-%{2}}%%{!?with_%{1}:--disable-%{2}}} %configure --disable-optimizations \ @@ -289,6 +292,9 @@ process to map the memory of another process into its virtual address space. %changelog +* Thu Oct 29 2020 Jeff Law 1.8.1-4 +- Disable -Warray-bounds diagnostics for gcc-11 + * Wed Jul 29 2020 Fedora Release Engineering - 1.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild