提交 7db528d7 编写于 作者: S suwenxiang

Description: Fix compilation warning of 730release

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I5MRU3
Feature or Bugfix: Bugfix
Binary Source: No
Signed-off-by: Nsuwenxiang <suwenxiang@huawei.com>
上级 ff8f4b1e
...@@ -5,13 +5,6 @@ if (defined(ohos_lite)) { ...@@ -5,13 +5,6 @@ if (defined(ohos_lite)) {
config("libpng_config") { config("libpng_config") {
include_dirs = [ "//third_party/libpng" ] include_dirs = [ "//third_party/libpng" ]
if (board_toolchain_type == "iccarm") {
cflags = [
"--diag_suppress",
"Pa082,Pa084",
]
cflags_cc = cflags
}
} }
libpng_source = [ libpng_source = [
...@@ -43,7 +36,13 @@ if (defined(ohos_lite)) { ...@@ -43,7 +36,13 @@ 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") {
cflags = [
"--diag_suppress",
"Pa082,Pa084",
]
cflags_cc = cflags
}
sources = libpng_source sources = libpng_source
public_configs = [ ":libpng_config" ] public_configs = [ ":libpng_config" ]
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册