summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJerone Young <jyoung5@us.ibm.com>2007-10-17 16:03:59 -0500
committerAvi Kivity <avi@qumranet.com>2007-10-18 11:17:14 +0200
commitd0710dbd26351816bb2693445601a7fefa0eb3e9 (patch)
treee17fc569e9b48412b117f784c1fbb67dce1876f1 /configure
parent49f7f1a96dce9d059d2d51d450c9d4bdd529c8fd (diff)
kvm: configure: fix top level qemu config for cross compile
Qemu is interpreting --cross-prefix & cpu as one argument. This of course yeilds an error. This fixes the error. Signed-off-by: Jerone Young <jyoung5@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index ff9577c1..a0c8746c 100755
--- a/configure
+++ b/configure
@@ -116,7 +116,8 @@ fi
${disable_gcc_check:+"--disable-gcc-check"} \
--prefix="$prefix" \
${qemu_cc:+"--cc=$qemu_cc"} \
- ${cross_prefix:+"--cross-prefix=$cross_prefix --cpu=$arch"} \
+ ${cross_prefix:+"--cross-prefix=$cross_prefix"} \
+ ${cross_prefix:+"--cpu=$arch"}
)