From 702315db30accc9df23a954f9e2004b41c8bd16e Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sun, 5 Jan 2025 18:53:52 +0100 Subject: [PATCH] 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 @@ (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