fix: 修复misc_config中defines未初始化的错误
Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: I4eecfc1af2b0cdc39922a8ce299eb8ab6b7c6e8c
This commit is contained in:
3
BUILD.gn
3
BUILD.gn
@@ -91,8 +91,9 @@ config("dialect_config") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
config("misc_config") {
|
config("misc_config") {
|
||||||
|
defines = []
|
||||||
if (!defined(LOSCFG_COMPILER_ICCARM)) {
|
if (!defined(LOSCFG_COMPILER_ICCARM)) {
|
||||||
defines = [ "__LITEOS__" ]
|
defines += [ "__LITEOS__" ]
|
||||||
defines += [ "__LITEOS_M__" ]
|
defines += [ "__LITEOS_M__" ]
|
||||||
}
|
}
|
||||||
if (!defined(LOSCFG_DEBUG_VERSION)) {
|
if (!defined(LOSCFG_DEBUG_VERSION)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user