Description: Mini platform GN + iccarm compile and build

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I5IS4P
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: suwenxiang <suwenxiang@huawei.com>
This commit is contained in:
suwenxiang
2022-07-25 20:22:37 +08:00
parent b9163bd4f9
commit ced9ca2a7e
+7
View File
@@ -72,6 +72,13 @@ if (defined(ohos_lite)) {
lite_library("libjpeg") {
if (ohos_kernel_type == "liteos_m") {
target_type = "static_library"
if (board_toolchain_type == "iccarm") {
cflags = [
"--diag_suppress",
"Pe188,Pa089",
]
cflags_cc = cflags
}
} else {
target_type = "shared_library"
}