From 5aebea01163d438c9efa250dc60c9f85c158144c Mon Sep 17 00:00:00 2001 From: David Elsing Date: Tue, 29 Jul 2025 16:19:32 +0200 Subject: 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 --- gnu/packages/chemistry.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu') 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") -- cgit v1.2.3