Signed-off-by: Andrea Bastoni <[email protected]>
---
 hypervisor/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hypervisor/Makefile b/hypervisor/Makefile
index 5322b5aa..41bf99f3 100644
--- a/hypervisor/Makefile
+++ b/hypervisor/Makefile
@@ -31,6 +31,10 @@ KBUILD_CFLAGS := -g -Os -Werror -Wall -Wstrict-prototypes 
-Wtype-limits \
                 -fno-strict-aliasing -fno-pic -fno-common \
                 -fno-stack-protector -fno-builtin-ffsl \
                 -D__LINUX_COMPILER_TYPES_H
+# Nice to have: -Wcast-qual -Wpointer-arith
+KBUILD_CFLAGS += -Wextra -Wundef \
+                -Wnested-externs -Wshadow -Wredundant-decls \
+                -Wdeprecated
 
 include $(src)/arch/$(SRCARCH)/Makefile
 
-- 
2.28.0

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20201021145404.100463-2-andrea.bastoni%40tum.de.

Reply via email to