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

commit 67ea417971206506e35314a52f4eed82cc1d9e03
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 0effc42aa9..6ebd6c1872 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2351,7 +2351,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