From f9703aa9156431749ea2769fc9951ce5e5e0bdef Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 20 Jul 2025 20:39:20 +0100 Subject: [PATCH] gnu: cianna: Fix build with gcc@14. * gnu/packages/astronomy.scm (cianna) [phases] : Ignore "maybe-uninitialized" warning. Change-Id: I3c0d473b0d61978fe43bc6dc45a4ac410f3974af --- gnu/packages/astronomy.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 2aa2ecc4c9a6f7e222bdd581001569b6996d9d83..13dd2303a4067a9fa6984963cd7239e7530885b9 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -714,6 +714,9 @@ in FITS files.") (string-append blas "/lib")))))) (replace 'build (lambda* _ + (substitute* "compile.cp" + (("-Wno-unknown-pragmas") + "-Wno-unknown-pragmas -Wno-error=maybe-uninitialized")) (invoke "./compile.cp" "BLAS" "OPEN_MP" "LPTHREAD" "PY_INTERF"))) (replace 'install (lambda _