summaryrefslogtreecommitdiffstats
path: root/sparsify
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-06-17 23:13:22 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-06-21 12:51:21 +0100
commita41a5a6fef47c9b21826363445701e633ed141a8 (patch)
treedda1ee20cd57aee8096cf9cddf084ac56a5b01ab /sparsify
parentc62f7851fe17141f44fcac237d02b9431d5be2d0 (diff)
downloadlibguestfs-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.am2
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.