aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-02 08:38:04 +0200
committerPierre-Marie Pédrot2018-10-02 08:38:04 +0200
commit1bde8c0912ed1129e71ffe20299ac89299492ba5 (patch)
tree233f39e5a2b34e78f2b157373a307635b0f632f9 /kernel
parente53309b2a3c3c1d63b2c5a3cda17765042a9f6c7 (diff)
parentef3fa51c12c450781facb61f54f465a77a359f83 (diff)
Merge PR #7522: [ocaml] Update required OCaml version to 4.05.0
Diffstat (limited to 'kernel')
-rw-r--r--kernel/nativelib.ml11
1 files changed, 1 insertions, 10 deletions
diff --git a/kernel/nativelib.ml b/kernel/nativelib.ml
index b4126dd68c..6edb387bb1 100644
--- a/kernel/nativelib.ml
+++ b/kernel/nativelib.ml
@@ -89,16 +89,7 @@ let call_compiler ?profile:(profile=false) ml_filename =
else
[]
in
- let flambda_args =
- if Coq_config.caml_version_nums >= [4;3;0] && Dynlink.is_native then
- (* We play safe for now, and use the native compiler
- with -Oclassic, however it is likely that `native_compute`
- users can benefit from tweaking here.
- *)
- ["-Oclassic"]
- else
- []
- in
+ let flambda_args = if Sys.(backend_type = Native) then ["-Oclassic"] else [] in
let args =
initial_args @
profile_args @