diff options
author | David Elsing <david.elsing@posteo.net> | 2025-07-29 16:19:32 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-31 23:19:38 +0100 |
commit | 5aebea01163d438c9efa250dc60c9f85c158144c (patch) | |
tree | 5b2d1d93362a64ef8fa60618ae1ad55128f80e23 | |
parent | d8d9e51a1f65c47502b73f557e28941ceeae11b2 (diff) |
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 <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/chemistry.scm | 2 |
1 files changed, 2 insertions, 0 deletions
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") |