From 7288dc52efd25655b246976be7b15d14fdaa3947 Mon Sep 17 00:00:00 2001 From: suwenxiang Date: Fri, 29 Jul 2022 16:02:26 +0800 Subject: [PATCH] Description: Mini platform GN + iccarm compile and build IssueNo: https://gitee.com/openharmony/arkui_ace_engine_lite/issues/I5JLZ7 Feature or Bugfix: Feature Binary Source: No Signed-off-by: suwenxiang --- BUILD.gn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index a16ddd8..d8804e5 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -21,6 +21,13 @@ if (defined(ohos_lite)) { "cJSON_Utils.c", ] + if (board_chaintool_type == "iccarm") { + cflags = [ + "--diag_suppress", + "Pe513", + ] + cflags_cc = cflags + } static_library("cjson_static") { sources = cjson_sources public_configs = [ ":cjson_config" ] -- Gitee