Unlimited stack to compile large kernel.ml file.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 8 Sep 2008 18:21:21 +0000 (19:21 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 8 Sep 2008 18:21:21 +0000 (19:21 +0100)
Make.rules.in

index b22f337..e570048 100644 (file)
@@ -30,6 +30,7 @@ OCAMLOPT      = @OCAMLOPT@
 .ml.cmo:
        $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(OCAMLCPACKAGES) -c $<
 .ml.cmx:
+       ulimit -s unlimited ||: ; \
        $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) $(OCAMLOPTPACKAGES) -c $<
 
 %.ml %.mli: %.mly