Ignore warnings for enable llvm15

Issue: #I6LPWU

Signed-off-by: guzhihao4 <guzhihao4@huawei.com>
Change-Id: I7b558fa46239081890ae005de65ba8d2bba1d134
This commit is contained in:
guzhihao4
2023-03-15 14:21:16 +08:00
parent 4ff66c7f40
commit 1ba32406bb
8 changed files with 13 additions and 4 deletions

View File

@@ -565,6 +565,8 @@ LITEOS_COPTS_BASE += -fno-aggressive-loop-optimizations
endif
LITEOS_COPTS_EXTRA += -std=c99 -Wpointer-arith -Wstrict-prototypes -ffunction-sections -fdata-sections -fno-exceptions -fno-short-enums
LITEOS_COPTS_EXTRA += -Wno-strict-prototypes -Wno-deprecated-non-prototype -Wno-unused-but-set-variable
ifeq ($(LOSCFG_ARCH_ARM_AARCH32), y)
ifneq ($(LOSCFG_COMPILER_CLANG_LLVM), y)
LITEOS_COPTS_EXTRA += -mthumb-interwork