diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-12-14 23:26:54 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-15 23:49:21 +0200 |
commit | 1620ecb8b83dc757edd39661f2e215480b7adac7 (patch) | |
tree | 426d651ab32be372968d2ee538305765046b01cb /tools/virtio/Makefile | |
parent | e3edf032e3fca4ea79fb4cad736e073dc15fa1f6 (diff) |
tools/virtio: enable -Werror
Seems to mostly be a positive.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio/Makefile')
-rw-r--r-- | tools/virtio/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/Makefile b/tools/virtio/Makefile index 9325f469382..505ad51b3b5 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 |