From 4ea1801a570148927b495cb3f8d661efaa80a75a Mon Sep 17 00:00:00 2001 From: mjreno Date: Thu, 29 Aug 2024 13:56:38 -0400 Subject: [PATCH] fix(netcdf): address gcc hdf5 build issue on linux (#2009) * apply hdf5 build fix to linux * cleanup * apply expected gcc flags when netcdf not in build --------- Co-authored-by: mjreno --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 0857693ac68..a78ffe06a59 100644 --- a/meson.build +++ b/meson.build @@ -194,7 +194,7 @@ endif # GCC profile options need to be netcdf aware due to HDF5 issue if fc_id == 'gcc' - if with_netcdf and build_machine.system() == 'darwin' + if with_netcdf # HDF5 1.14.3 invalid fpe trap issue: https://github.com/HDFGroup/hdf5/issues/3831 if profile == 'release' compile_args += ['-ffpe-summary=overflow', '-ffpe-trap=overflow,zero']