Description: Fix undefined board_chaintool_type resulting in compilation error

IssueNo: https://gitee.com/openharmony/third_party_cJSON/issues/I5ODQ6
Feature or Bugfix: Bugfix
Binary Source: No
Signed-off-by: suwenxiang <suwenxiang@huawei.com>
This commit is contained in:
suwenxiang
2022-09-09 16:38:06 +08:00
parent 6d3d387e93
commit 25b9d765ca
+1 -1
View File
@@ -22,7 +22,7 @@ if (defined(ohos_lite)) {
"cJSON_Utils.c",
]
if (board_chaintool_type == "iccarm") {
if (defined(board_toolchain_type) && board_toolchain_type == "iccarm") {
cflags = [
"--diag_suppress",
"Pe513",