From b7c42fd392a1cade2492cd9145b213125d0f871a Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Thu, 25 Aug 2011 19:39:46 +0100 Subject: [PATCH] febootstrap: Fix build on platforms where there is no native OCaml compiler. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 109d2c8..7ac5079 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,15 +58,17 @@ XOBJECTS = $(SOURCES_ML:.ml=.cmx) if !HAVE_OCAMLOPT OBJECTS = $(BOBJECTS) +BEST = c else OBJECTS = $(XOBJECTS) +BEST = opt endif OCAMLPACKAGES = -package unix,str OCAMLFLAGS = -warn-error CDEFLMPSUVXYZ febootstrap: $(OBJECTS) - $(OCAMLFIND) $(OCAMLBEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg \ + $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg \ $^ -o $@ .mli.cmi: -- 1.8.3.1