fix: 去掉编译选项-fno-short-enums
编译选项-fno-short-enums是liteos-m支持kconfig(https://gitee.com/openharmony/kernel_liteos_m/pulls/371)时从Liteos-a核引入的编译选项。添加该编译选项后会输出警告信息, 需要去掉该编译选项。 fix #I4JY32 Signed-off-by: kenneth <zhushangyuan@huawei.com>
This commit is contained in:
parent
2cf3b19563
commit
b542aab09d
1
BUILD.gn
1
BUILD.gn
|
@ -195,7 +195,6 @@ config("misc_config") {
|
||||||
"-fdata-sections",
|
"-fdata-sections",
|
||||||
"-fno-exceptions",
|
"-fno-exceptions",
|
||||||
"-fno-omit-frame-pointer",
|
"-fno-omit-frame-pointer",
|
||||||
"-fno-short-enums",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if (!defined(LOSCFG_COMPILER_CLANG_LLVM)) {
|
if (!defined(LOSCFG_COMPILER_CLANG_LLVM)) {
|
||||||
|
|
Loading…
Reference in New Issue