1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
This commit is contained in:
David Elsing
2025-07-29 16:19:32 +02:00
committed by Sharlatan Hellseher
parent d8d9e51a1f
commit 5aebea0116

View File

@@ -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")