summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-14 23:26:54 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-12-15 23:49:21 +0200
commit1620ecb8b83dc757edd39661f2e215480b7adac7 (patch)
tree426d651ab32be372968d2ee538305765046b01cb
parente3edf032e3fca4ea79fb4cad736e073dc15fa1f6 (diff)
downloadlinux-1620ecb8b83dc757edd39661f2e215480b7adac7.tar.bz2
tools/virtio: enable -Werror
Seems to mostly be a positive. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--tools/virtio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/Makefile b/tools/virtio/Makefile
index 9325f4693821..505ad51b3b51 100644
--- a/tools/virtio/Makefile
+++ b/tools/virtio/Makefile
@@ -3,7 +3,7 @@ test: virtio_test vringh_test
virtio_test: virtio_ring.o virtio_test.o
vringh_test: vringh_test.o vringh.o virtio_ring.o
-CFLAGS += -g -O2 -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE
+CFLAGS += -g -O2 -Werror -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE
vpath %.c ../../drivers/virtio ../../drivers/vhost
mod:
${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test