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 13:13:02 +0100
commit2e219394d67030a6d0a7d6920ad1e19722b2d967 (patch)
tree2f721627f6100ad53c3175a22a15dc18b694732b /sparsify
parentb4b6b2439573ebd6a53f02943674232b596b73bc (diff)
downloadlibguestfs-2e219394d67030a6d0a7d6920ad1e19722b2d967.tar.gz
libguestfs-2e219394d67030a6d0a7d6920ad1e19722b2d967.tar.xz
libguestfs-2e219394d67030a6d0a7d6920ad1e19722b2d967.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 efe8278d..068a5468 100644
--- a/sparsify/Makefile.am
+++ b/sparsify/Makefile.am
@@ -61,7 +61,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.