Makefile: Suppress few warnings with clang
Enable -Wno-misleading-indentation -Wno-bool-operation options
to suppress these warnings on clang compilation.
Change-Id: I018b992d126d710cd3548a87287dc5c681cfe400
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
diff --git a/Makefile b/Makefile
index 5a9582d..2504c91 100644
--- a/Makefile
+++ b/Makefile
@@ -552,6 +552,8 @@
KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
CLANG_FLAGS += -no-integrated-as
CLANG_FLAGS += -Werror=unknown-warning-option
+CLANG_FLAGS += $(call cc-option, -Wno-misleading-indentation)
+CLANG_FLAGS += $(call cc-option, -Wno-bool-operation)
KBUILD_CFLAGS += $(CLANG_FLAGS)
KBUILD_AFLAGS += $(CLANG_FLAGS)
else