diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-10-09 16:12:26 +0200 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-10-10 10:47:58 +0200 |
commit | 1d8725b59309c2c9f870eb52a2daebe87ed9ad5b (patch) | |
tree | 5f7beb8ea5b420cbbcbad414e6f216b34d08b464 /configure.ml | |
parent | 406717ce786a70e64b9043db45dd5a2add68f817 (diff) |
[flambda] [native] Pass `-Oclassic` to the native compiler.
This seems a safe choice as of today, but more advanced users would
like to tweak it, or we could even refine it by a configure option if
desired.
Diffstat (limited to 'configure.ml')
-rw-r--r-- | configure.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ml b/configure.ml index 3ba1986c0..ca7979fa1 100644 --- a/configure.ml +++ b/configure.ml @@ -1028,8 +1028,8 @@ let write_configml f = let pr_i = pr "let %s = %d\n" in let pr_p s o = pr "let %s = %S\n" s (match o with Relative s -> s | Absolute s -> s) in - let pr_l n l = pr "let %s = [%s]\n" n (String.concat ";" (List.map (fun s -> "\"" ^ s ^ "\"") l)) - in + let pr_l n l = pr "let %s = [%s]\n" n (String.concat ";" (List.map (fun s -> "\"" ^ s ^ "\"") l)) in + let pr_li n l = pr "let %s = [%s]\n" n (String.concat ";" (List.map string_of_int l)) in pr "(* DO NOT EDIT THIS FILE: automatically generated by ../configure *)\n"; pr "(* Exact command that generated this file: *)\n"; pr "(* %s *)\n\n" (String.concat " " (Array.to_list Sys.argv)); @@ -1059,6 +1059,7 @@ let write_configml f = pr_s "osdeplibs" osdeplibs; pr_s "version" coq_version; pr_s "caml_version" caml_version; + pr_li "caml_version_nums" caml_version_nums; pr_s "date" short_date; pr_s "compile_date" full_date; pr_s "arch" arch; |