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
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -219,7 +219,7 @@ (define-public ocaml-5.0
(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