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']