From 62ea6423d88d670a51fdc507fbec79f9a4168354 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao Date: Wed, 5 Dec 2007 10:03:03 +0800 Subject: kvm: configure: Move CONFIG_X86 to x86 arch for other arch support. Signed-off-by: Zhang Xiantao Signed-off-by: Avi Kivity --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index c6b3ff31..dadda8e0 100755 --- a/configure +++ b/configure @@ -99,6 +99,7 @@ fi #set parameters compiling if [ "$arch" = "i386" -o "$arch" = "x86_64" ]; then target_exec="x86_64-softmmu" + qemu_cflags="$qemu_cflags -DCONFIG_X86" fi if [ "$arch" = "ia64" ]; then @@ -113,7 +114,7 @@ fi #configure qemu (cd qemu; ./configure --target-list=$target_exec \ --disable-kqemu \ - --extra-cflags="-I $PWD/../libkvm $qemu_cflags -DCONFIG_X86" \ + --extra-cflags="-I $PWD/../libkvm $qemu_cflags" \ --extra-ldflags="-L $PWD/../libkvm $qemu_ldflags" \ --enable-kvm --kernel-path="$libkvm_kerneldir" \ ${enable_alsa:+"--enable-alsa"} \ -- cgit v1.2.3