summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2008-06-05 15:58:55 -0500
committerAvi Kivity <avi@qumranet.com>2008-06-09 18:57:22 +0300
commitff5396cfeacf74ad9611a35e882ff100b10126ac (patch)
tree701145448fcf6ca3e24d69e6f95fef65c83068ee /configure
parent5dbb9a744fb9c0d16d0fc9398d0bf308495b5545 (diff)
kvm: configure: Stop requiring GCC3 for QEMU
KVM always configures QEMU to only build the required targets. Recently, target-i386 converted to TCG completely which means it no longer needs GCC-3. ia64 and PowerPC have never needed GCC-3 AFAIK so let's disable the gcc check in QEMU's configure and build with GCC4. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure b/configure
index 218b4148..902e769f 100755
--- a/configure
+++ b/configure
@@ -6,7 +6,6 @@ cc=gcc
ld=ld
objcopy=objcopy
want_module=1
-qemu_cc=
qemu_cflags=
qemu_ldflags=
qemu_opts=
@@ -24,7 +23,6 @@ usage() {
--prefix=PREFIX where to install things ($prefix)
--with-patched-kernel don't use external module
--kerneldir=DIR kernel build directory ($kerneldir)
- --qemu-cc=CC specify compiler for qemu (must be gcc-3.x)
--qemu-cflags=CFLAGS CFLAGS to add to qemu configuration
--qemu-ldflags=LDFLAGS LDFLAGS to add to qemu configuration
@@ -58,9 +56,6 @@ while [[ "$1" = -* ]]; do
--with-patched-kernel)
want_module=
;;
- --qemu-cc)
- qemu_cc="$arg"
- ;;
--qemu-cflags)
qemu_cflags="$arg"
;;
@@ -115,11 +110,11 @@ fi
#configure qemu
(cd qemu; ./configure --target-list=$target_exec \
--disable-kqemu \
+ --disable-gcc-check \
--extra-cflags="-I $PWD/../libkvm $qemu_cflags" \
--extra-ldflags="-L $PWD/../libkvm $qemu_ldflags" \
--kernel-path="$libkvm_kerneldir" \
--prefix="$prefix" \
- ${qemu_cc:+"--cc=$qemu_cc"} \
${cross_prefix:+"--cross-prefix=$cross_prefix"} \
${cross_prefix:+"--cpu=$arch"} $qemu_opts
) || usage