From: Avi Kivity <[email protected]>

libkvm is not yet -Wredundant-decls friendly.

Signed-off-by: Avi Kivity <[email protected]>

diff --git a/kvm/libkvm/Makefile b/kvm/libkvm/Makefile
index 62bc45f..a8f1917 100644
--- a/kvm/libkvm/Makefile
+++ b/kvm/libkvm/Makefile
@@ -1,6 +1,9 @@
 include ../../config-host.mak
 include config-$(ARCH).mak
 
+# libkvm is not -Wredundant-decls friendly yet
+CFLAGS += -Wno-redundant-decls
+
 # cc-option
 # Usage: OP_CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0)
 cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to