]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
Add KVM CFLAGS to vhost build
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 6 Apr 2010 11:31:29 +0000 (13:31 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 3 May 2010 17:39:12 +0000 (12:39 -0500)
The configure test of vhost uses KVM CFLAGS, so the build must use them
as well. Otherwise we specifically miss what --kerneldir provides.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile.target

index 7ea753b8f987b9831a54aedb5d5fb9d495557ec0..c0929002cc580c5e6318740c984e2afb801be095 100644 (file)
@@ -33,7 +33,7 @@ PROGS=$(QEMU_PROG)
 
 LIBS+=-lm
 
-kvm.o kvm-all.o: QEMU_CFLAGS+=$(KVM_CFLAGS)
+kvm.o kvm-all.o vhost.o vhost_net.o: QEMU_CFLAGS+=$(KVM_CFLAGS)
 
 config-target.h: config-target.h-timestamp
 config-target.h-timestamp: config-target.mak