- Use -fno-strict-aliasing as nxc.c is not strict-aliasing safe

epel9
Jeff Law 4 years ago
parent 3c82fb3732
commit 362e06ef13

@ -1,6 +1,6 @@
Name: netcdf
Version: 4.7.3
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Libraries for the Unidata network Common Data Form
License: NetCDF
@ -170,6 +170,7 @@ NetCDF parallel openmpi static libraries
%global _configure ../configure
#Common configure options
export LDFLAGS="%{__global_ldflags} -L%{_libdir}/hdf"
export CFLAGS="%{optflags} -fno-strict-aliasing"
%global configure_opts \\\
--enable-shared \\\
--enable-netcdf-4 \\\
@ -339,6 +340,9 @@ done
%changelog
* Tue Dec 15 2020 Jeff Law <law@redhat.com> - 4.7.3-5
- Use -fno-strict-aliasing as nxc.c is not strict-aliasing safe
* Sun Sep 6 2020 Orion Poplawski <orion@nwra.com> - 4.7.3-4
- Work around UCX segfault issue (FTBFS bz#1864189)

Loading…
Cancel
Save