git.annexia.org
/
febootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df569d4
)
febootstrap: Fix build on platforms where there is no native OCaml compiler.
author
Hilko Bengen
<bengen@hilluzination.de>
Thu, 25 Aug 2011 18:39:46 +0000
(19:39 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 25 Aug 2011 18:39:46 +0000
(19:39 +0100)
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
109d2c8
..
7ac5079
100644
(file)
--- 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) $(
OCAML
BEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg \
+ $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg \
$^ -o $@
.mli.cmi: