mirror of
https://codeberg.org/guix/guix.git
synced 2026-05-13 15:03:44 +00:00
gnu: ocaml-guile: Fix build with gcc@14.
* gnu/packages/ocaml.scm (ocaml-guile)[arguments]: Modify Dune configurator script to add CFLAG `-Wno-int-conversion`. Change-Id: I9eab10fc7e10904e46346bfeb207eae3a58ca300 Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
committed by
Julien Lepiller
parent
9f5840e895
commit
971f0e4e8f
@@ -9548,7 +9548,15 @@ bibliography files in BibTeX format, a bibliography in HTML format.")
|
||||
"0yxdkrhrrbwvay5sn0p26rh3f11876k6kdharmpi4afxknml74ql"))))
|
||||
(build-system dune-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f)) ; no tests
|
||||
`(#:tests? #f ;; no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-gcc-flags
|
||||
(lambda _
|
||||
(substitute* "config/discover.ml"
|
||||
;; Disable a strict default added in GCC 14.
|
||||
(("libffi.P.cflags")
|
||||
"[\"-Wno-int-conversion\"] @ libffi.P.cflags")))))))
|
||||
(propagated-inputs
|
||||
(list ocaml-sexplib
|
||||
ocaml-ctypes
|
||||
|
||||
Reference in New Issue
Block a user