summaryrefslogtreecommitdiff
path: root/tools/virtio/Makefile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-03-18 06:52:18 +0400
committerRusty Russell <rusty@rustcorp.com.au>2013-03-20 07:30:41 +0400
commit73640c991e2f2804939af70567b23e4c54b7c266 (patch)
tree40800f0b2ddd54ef17160879bada9d1e16a4ce01 /tools/virtio/Makefile
parent29266e2e29f1f87b93321e56812f9fb16f91cb6d (diff)
downloadlinux-73640c991e2f2804939af70567b23e4c54b7c266.tar.xz
tools/virtio: fix build for 3.8
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/virtio/Makefile')
-rw-r--r--tools/virtio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/Makefile b/tools/virtio/Makefile
index d1d442ed106a..b48c4329e644 100644
--- a/tools/virtio/Makefile
+++ b/tools/virtio/Makefile
@@ -1,7 +1,7 @@
all: test mod
test: virtio_test
virtio_test: virtio_ring.o virtio_test.o
-CFLAGS += -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -MMD
+CFLAGS += -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD
vpath %.c ../../drivers/virtio
mod:
${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test