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>
This commit is contained in:
Neeraj Upadhyay 2020-03-19 13:34:44 +05:30 • committed by Gerrit - the friendly Code Review server
commit ac4b20a450

View file

@ -552,6 +552,8 @@ KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
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