[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/14: gnu: ocaml-mcl: Add -fcommon to compiler flags.
From: |
guix-commits |
Subject: |
14/14: gnu: ocaml-mcl: Add -fcommon to compiler flags. |
Date: |
Wed, 8 Dec 2021 08:33:44 -0500 (EST) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit c8060055de425764f58bb9d0a7756964d7eea58d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Dec 8 14:29:46 2021 +0100
gnu: ocaml-mcl: Add -fcommon to compiler flags.
* gnu/packages/machine-learning.scm (ocaml-mcl)[arguments]: Add -fcommon.
---
gnu/packages/machine-learning.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 54be531..e75faef 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -327,7 +327,7 @@ networks) based on simulation of (stochastic) flow in
graphs.")
(substitute* "setup.ml"
(("LDFLAGS=-fPIC")
(string-append "LDFLAGS=-fPIC\"; \"SHELL=" (which "sh")))
- (("-std=c89") "-std=gnu99")
+ (("-std=c89") "-std=gnu99 -fcommon")
;; This is a mutable string, which is no longer supported. Use
;; a byte buffer instead.
@@ -340,7 +340,7 @@ networks) based on simulation of (stochastic) flow in
graphs.")
((" s;")
" s);"))
(substitute* "myocamlbuild.ml"
- (("std=c89") "std=gnu99"))
+ (("std=c89") "std=gnu99 -fcommon"))
;; Since we build with a more recent OCaml, we have to use C99 or
;; later. This causes problems with the old C code.
(substitute* "src/impala/matrix.c"
- 04/14: gnu: snap-aligner: Remove trailing #T., (continued)
- 04/14: gnu: snap-aligner: Remove trailing #T., guix-commits, 2021/12/08
- 02/14: gnu: khmer: Cythonize source files., guix-commits, 2021/12/08
- 05/14: gnu: snap-aligner: Update to 2.0.0., guix-commits, 2021/12/08
- 06/14: gnu: imp: Disable tests., guix-commits, 2021/12/08
- 01/14: gnu: cwltool: Update to 3.1.20211107152837., guix-commits, 2021/12/08
- 08/14: gnu: tbsp: Update to 1.0.0-2.dc30c03., guix-commits, 2021/12/08
- 03/14: gnu: snap-aligner: Run tests conditionally., guix-commits, 2021/12/08
- 07/14: gnu: mantis: Update to 0.1-2.b6979a2., guix-commits, 2021/12/08
- 09/14: gnu: discrover: Remove trailing #T., guix-commits, 2021/12/08
- 10/14: gnu: discrover: Add texlive-fonts-ec to inputs., guix-commits, 2021/12/08
- 14/14: gnu: ocaml-mcl: Add -fcommon to compiler flags.,
guix-commits <=
- 12/14: gnu: paml: Remove trailing #T., guix-commits, 2021/12/08
- 11/14: gnu: sambamba: Remove trailing #T., guix-commits, 2021/12/08
- 13/14: gnu: paml: Pass -fcommon to compiler., guix-commits, 2021/12/08