]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu: fix out of tree cross compile
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 29 May 2013 13:30:43 +0000 (23:30 +1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 1 Jun 2013 10:25:39 +0000 (14:25 +0400)
The symlink to "asm" platform linux headers is made in the build tree by
the configure script but gcc is not told to look for them there.

The patch fixes this.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
configure

index 08ceb437bef8be3906efe4a72a8d2bf9fc41b32c..d5abf98f96d9c60590513898f661507b0baf6114 100755 (executable)
--- a/configure
+++ b/configure
@@ -546,7 +546,7 @@ Haiku)
   if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
     audio_possible_drivers="$audio_possible_drivers fmod"
   fi
-  QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers $QEMU_INCLUDES"
+  QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers -I$(pwd)/linux-headers $QEMU_INCLUDES"
 ;;
 esac