diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-17 23:13:22 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-21 12:51:21 +0100 |
commit | a41a5a6fef47c9b21826363445701e633ed141a8 (patch) | |
tree | dda1ee20cd57aee8096cf9cddf084ac56a5b01ab /sparsify | |
parent | c62f7851fe17141f44fcac237d02b9431d5be2d0 (diff) | |
download | libguestfs-a41a5a6fef47c9b21826363445701e633ed141a8.tar.gz libguestfs-a41a5a6fef47c9b21826363445701e633ed141a8.tar.xz libguestfs-a41a5a6fef47c9b21826363445701e633ed141a8.zip |
ocaml: Use OCAMLOPTFLAGS when compiling .cmx (ie. native code) files.
(cherry picked from commit dd216fedbdacfd641c2da4073ae26d3ccb6098a6)
Diffstat (limited to 'sparsify')
-rw-r--r-- | sparsify/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sparsify/Makefile.am b/sparsify/Makefile.am index 7de66b72..72cb2bb3 100644 --- a/sparsify/Makefile.am +++ b/sparsify/Makefile.am @@ -66,7 +66,7 @@ virt-sparsify: $(OBJECTS) .ml.cmo: $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -c $< -o $@ .ml.cmx: - $(OCAMLFIND) ocamlopt $(OCAMLCFLAGS) -c $< -o $@ + $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -c $< -o $@ # automake will decide we don't need C support in this file. Really # we do, so we have to provide it ourselves. |