Reduce GCC 14 type safety on i686

Issue has been reported upstream but no fix yet:

https://github.com/ofiwg/libfabric/issues/9763
This commit is contained in:
Yaakov Selkowitz 2024-02-07 14:13:42 -05:00
parent 2f150bd42c
commit 12d5d4d78a

View File

@ -1,5 +1,13 @@
%global __remake_config 0
# FTBFS on i686 with GCC 14 -Werror=incompatible-pointer-types
# https://github.com/ofiwg/libfabric/issues/9763
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
%ifarch %{ix86}
%global build_type_safety_c 2
%endif
%endif
Name: libfabric
Version: 1.19.0
Release: 3%{?dist}