summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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