提交 4274ef92 编写于 作者: S suwenxiang

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: Nsuwenxiang <suwenxiang@huawei.com>
上级 6b1284d7
...@@ -36,7 +36,7 @@ if (defined(ohos_lite)) { ...@@ -36,7 +36,7 @@ if (defined(ohos_lite)) {
target_type = "shared_library" target_type = "shared_library"
deps = [ "//build/lite/config/component/zlib:zlib_shared" ] deps = [ "//build/lite/config/component/zlib:zlib_shared" ]
} }
if (board_toolchain_type == "iccarm") { if (defined(board_toolchain_type) && board_toolchain_type == "iccarm") {
cflags = [ cflags = [
"--diag_suppress", "--diag_suppress",
"Pa082,Pa084", "Pa082,Pa084",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册