diff options
| author | Neeraj Upadhyay <neeraju@codeaurora.org> | 2020-07-07 12:58:46 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-07-10 04:33:24 -0700 |
| commit | ecff797dc5f0a22f7db9c60040207df44985b6bf (patch) | |
| tree | f46266248ef0b2803ee45f472038a05e30e114b7 | |
| parent | aebfc8bc51aa5905daacdfa3fdbf881cbac80a79 (diff) | |
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>
| -rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -632,6 +632,8 @@ CLANG_FLAGS += --gcc-toolchain=$(GCC_TOOLCHAIN) endif 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) endif |
