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

gnu: ocaml: Allow not to build the native compiler.

Build "defaultentry", not "world.opt", so that the build system decides
whether to build the native compiler or just the bytecode compiler.
The native compiler is not available for 32-bit architectures.

* gnu/packages/ocaml.scm (ocaml-5.0)[arguments]: Change make-flags.

Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Vivien Kraus
2023-09-12 22:31:37 +02:00
committed by Andreas Enge
parent 5b236fbccc
commit 33e64b4509

View File

@@ -219,7 +219,7 @@ This package produces a native @command{ocamlc} and a bytecode @command{ocamllex
(arguments
`(#:configure-flags '("--enable-ocamltest")
#:test-target "tests"
#:make-flags '("world.opt")
#:make-flags '("defaultentry")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-/bin/sh-references