Disable -Warray-bounds diagnostic due to false positive from gcc-11
This commit is contained in:
parent
bad5483723
commit
b2abd7dde9
8
ucx.spec
8
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 <law@redhat.com> 1.8.1-4
|
||||
- Disable -Warray-bounds diagnostics for gcc-11
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user