summaryrefslogtreecommitdiffstats
path: root/sysprep
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 /sysprep
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 'sysprep')
-rw-r--r--sysprep/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
index 2afd4068..fff8e648 100644
--- a/sysprep/Makefile.am
+++ b/sysprep/Makefile.am
@@ -124,7 +124,7 @@ virt-sysprep: $(OBJECTS)
.ml.cmo:
$(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -c $< -o $@
.ml.cmx:
- $(OCAMLFIND) ocamlopt $(OCAMLCFLAGS) -c $< -o $@
+ $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -c $< -o $@
# Manual pages and HTML files for the website.
man_MANS = virt-sysprep.1