Skip to content

Commit 4ea1801

Browse files
mjrenomjreno
andauthored
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 <[email protected]>
1 parent d9d6092 commit 4ea1801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ endif
194194

195195
# GCC profile options need to be netcdf aware due to HDF5 issue
196196
if fc_id == 'gcc'
197-
if with_netcdf and build_machine.system() == 'darwin'
197+
if with_netcdf
198198
# HDF5 1.14.3 invalid fpe trap issue: https://github.com/HDFGroup/hdf5/issues/3831
199199
if profile == 'release'
200200
compile_args += ['-ffpe-summary=overflow', '-ffpe-trap=overflow,zero']

0 commit comments

Comments
 (0)