janneke pushed a commit to branch core-packages-team
in repository guix.

commit a0b3e97a60dea80a2a0e6733a1d70666dd393710
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Sun Jan 5 18:53:52 2025 +0100

    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
---
 gnu/packages/maths.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 928493e185..4b1e25820e 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2259,7 +2259,8 @@ similar to MATLAB, GNU Octave or SciPy.")
            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

Reply via email to