mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: lpsolve: Fix build with gcc-14.
* gnu/packages/maths.scm (lpsolve)[arguments]: Add phase "apply-gcc-14-patch" to relax gcc-14's strictness. Change-Id: I4bab0523dccb3b0c85bcce3045edf2a1f18c0539
This commit is contained in:
parent
7d48f27f56
commit
ad1cd13fa8
1 changed files with 5 additions and 0 deletions
|
@ -6984,6 +6984,11 @@ (define-public lpsolve
|
|||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure) ; no configure script
|
||||
(add-after 'unpack 'apply-gcc-14-patch
|
||||
(lambda _
|
||||
(substitute* '("lpsolve55/ccc"
|
||||
"lp_solve/ccc")
|
||||
(("^c=gcc") "c=\"gcc -Wno-error=implicit-int\""))))
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(with-directory-excursion "lpsolve55"
|
||||
|
|
Loading…
Reference in a new issue