diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2013-05-29 23:30:43 +1000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-06-01 14:25:39 +0400 |
commit | a585140dd546ffb606ec506b362ab9decf1ab14e (patch) | |
tree | 08ec0dd2fd096e4605ba4071aac229b2b863b868 /configure | |
parent | a9c34e4485ef0a8a61e88f1c9f9bb87f00ba2c72 (diff) | |
download | qemu-a585140dd546ffb606ec506b362ab9decf1ab14e.zip qemu-a585140dd546ffb606ec506b362ab9decf1ab14e.tar.gz qemu-a585140dd546ffb606ec506b362ab9decf1ab14e.tar.bz2 |
qemu: fix out of tree cross compile
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |