~ruther/guix-local

5aebea01163d438c9efa250dc60c9f85c158144c — David Elsing 1 year, 3 months ago d8d9e51
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>
1 files changed, 2 insertions(+), 0 deletions(-)

M gnu/packages/chemistry.scm
M gnu/packages/chemistry.scm => gnu/packages/chemistry.scm +2 -0
@@ 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")