diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 7cb6f05dfb6..d8ddf6a66cb 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1333,7 +1333,13 @@ provide LAPACK for someone who does not have access to a Fortran compiler.") ;; . (substitute* "TESTING/CMakeLists.txt" (("^add_test\\(x[cz]heevr.*" all) - (string-append "# " all "\n")))))))) + (string-append "# " all "\n"))))) + (add-before 'configure 'fix-gcc14-errors + (lambda _ + (setenv "CFLAGS" + (string-append + "-g -O2 -DNDEBUG" + " -Wno-error=implicit-function-declaration"))))))) (home-page "https://www.netlib.org/scalapack/") (synopsis "Library for scalable numerical linear algebra") (description