guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5aebea01163d438c9efa250dc60c9f85c158144c
Author: David Elsing <[email protected]>
AuthorDate: Tue Jul 29 16:19:32 2025 +0200

    gnu: yaehmop: Fix build with GCC 14.
    
    The C code calls functions from Fortran without declaration.
    
    * gnu/packages/chemistry.scm (yaehmop)[arguments]: Add CMAKE_C_FLAGS.
    
    Change-Id: Ib115645a414693cd42429d957d746f8435a889a6
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/chemistry.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 9ee7280407..522778776c 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -1258,6 +1258,8 @@ emphasis on quality rather than speed.")
       #:configure-flags
       #~(list
          "-DUSE_BLAS_LAPACK=ON"
+         ;; Some functions are written in Fortran.
+         "-DCMAKE_C_FLAGS=-Wno-implicit-function-declaration"
          (string-append "-DPARM_FILE_LOC=" #$output
                         "/share/" #$name "-" #$version "/eht_parms.dat")
          "-DBIND_EXE_NAME=yaehmop-bind")

Reply via email to