guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

229/249: gnu: netcdf: Fix build with gcc-14.


From: guix-commits
Subject: 229/249: gnu: netcdf: Fix build with gcc-14.
Date: Mon, 6 Jan 2025 07:51:55 -0500 (EST)

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

commit 702315db30accc9df23a954f9e2004b41c8bd16e
Author: Janneke Nieuwenhuizen <janneke@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 fe6a419b10..17a012953b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2291,7 +2291,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

[Prev in Thread] Current Thread [Next in Thread]