!975 【回合monthly1018】fix: misc_config中defines未初始化导致编译失败
Merge pull request !975 from Zhaotianyu/cherry-pick-1671695812
This commit is contained in:
commit
18ffbf44ee
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)) {
|
||||||
|
|
Loading…
Reference in New Issue