!22 修复未定义board_chaintool_type导致编译报错

Merge pull request !22 from suwenxiang/master
This commit is contained in:
openharmony_ci
2022-09-13 06:29:09 +00:00
committed by Gitee
+1 -1
View File
@@ -20,7 +20,7 @@ if (defined(ohos_lite)) { # is on lite Os for ipcamera
lite_library("libgif") {
if (ohos_kernel_type == "liteos_m") {
target_type = "static_library"
if (board_toolchain_type == "iccarm") {
if (defined(board_toolchain_type) && board_toolchain_type == "iccarm") {
cflags = [
"--diag_suppress",
"Pa084",