From ed612fce0054f766b613f5afefa378de2e944286 Mon Sep 17 00:00:00 2001 From: Louis Gesbert Date: Mon, 28 Nov 2016 18:12:04 +0100 Subject: [PATCH] Disable weird touch+pack+remove behaviour for pack mlis Don't know what it's for but it breaks dose3 compilation on 4.04 --- src/ocaml_compiler.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ocaml_compiler.ml b/src/ocaml_compiler.ml index e6d5becf..4fe7f5c5 100644 --- a/src/ocaml_compiler.ml +++ b/src/ocaml_compiler.ml @@ -84,7 +84,7 @@ let ocamlopt_p tags deps out = S [!Options.ocamlopt; A"-pack"; forpack_flags out tags; T tags; S include_flags; atomize_paths deps; A"-o"; Px out] in - if (*FIXME true ||*) Pathname.exists mli then Cmd cmd + if true || Pathname.exists mli then Cmd cmd else let rm = S[A"rm"; A"-f"; P mli] in Cmd(S[A"touch"; P mli; Sh" ; if "; cmd; Sh" ; then "; rm; Sh" ; else ";