summaryrefslogtreecommitdiffstats
path: root/resize
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-18 15:32:38 +0100
commitdd216fedbdacfd641c2da4073ae26d3ccb6098a6 (patch)
treecf974cde53e5559e424ab44acd11abede887de25 /resize
parent87de36670108a19b832e8f5ded8d413e7b575d70 (diff)
downloadlibguestfs-dd216fedbdacfd641c2da4073ae26d3ccb6098a6.tar.gz
libguestfs-dd216fedbdacfd641c2da4073ae26d3ccb6098a6.tar.xz
libguestfs-dd216fedbdacfd641c2da4073ae26d3ccb6098a6.zip
ocaml: Use OCAMLOPTFLAGS when compiling .cmx (ie. native code) files.
Diffstat (limited to 'resize')
-rw-r--r--resize/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/resize/Makefile.am b/resize/Makefile.am
index d23b4dee..00f5e350 100644
--- a/resize/Makefile.am
+++ b/resize/Makefile.am
@@ -67,7 +67,7 @@ virt-resize: $(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.