kvm: Use -Werror for building the thing

It's easy to miss warnings so use -Werror. We're a shiny new userspace project
so there's no reason not to use it.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
Pekka Enberg
2015-06-01 16:39:40 +01:00
committed by Will Deacon
parent 8cc7d24b4f
commit 307a9af02d
+1
View File
@@ -32,6 +32,7 @@ endif
CFLAGS += $(CPPFLAGS) $(DEFINES) -Iinclude -Os -g
WARNINGS += -Werror
WARNINGS += -Wall
WARNINGS += -Wcast-align
WARNINGS += -Wformat=2