guix-commits
[Top][All Lists]
Advanced

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

224/237: gnu: netcdf: Fix build with gcc-14.


From: guix-commits
Subject: 224/237: gnu: netcdf: Fix build with gcc-14.
Date: Fri, 24 Jan 2025 11:07:04 -0500 (EST)

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

commit 51d034e9993df07c4034b4b2960a2ea5434521e9
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 1aae331e44..e804244172 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2258,7 +2258,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]