From: Hilko Bengen Date: Thu, 25 Aug 2011 18:39:46 +0000 (+0100) Subject: febootstrap: Fix build on platforms where there is no native OCaml compiler. X-Git-Tag: 3.9~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b7c42fd392a1cade2492cd9145b213125d0f871a;p=febootstrap.git febootstrap: Fix build on platforms where there is no native OCaml compiler. --- 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: