gnu: netcdf: Fix build with gcc-14.

* gnu/packages/maths.scm (netcdf): Add CFLAGS to #:configure-flags to relax
gcc-14's strictness.

Change-Id: Ic5059519414aeb644dd0bde084f569b954c17904
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-05 18:53:52 +01:00
parent 9b72bd2940
commit 702315db30
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -2291,7 +2291,8 @@ (define-public netcdf
zlib))
(arguments
(list #:configure-flags
#~'("--enable-doxygen" "--enable-dot"
#~'("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
"--enable-doxygen" "--enable-dot"
"--enable-hdf4" "--disable-dap-remote-tests")
#:phases