From d8223aa670660c9de61aa3cdae6128b648e599c2 Mon Sep 17 00:00:00 2001 From: twz804667 Date: Tue, 11 Oct 2022 18:28:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5iccarm=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: twz804667 --- commonlibrary_lite/file_hal/BUILD.gn | 2 +- update_lite/dupdate_hal/BUILD.gn | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commonlibrary_lite/file_hal/BUILD.gn b/commonlibrary_lite/file_hal/BUILD.gn index 30f4597ad..d505b8641 100644 --- a/commonlibrary_lite/file_hal/BUILD.gn +++ b/commonlibrary_lite/file_hal/BUILD.gn @@ -24,7 +24,7 @@ hctest_suite("ActsUtilsFileTest") { "src", "//commonlibrary/utils_lite/include", ] - + if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] } diff --git a/update_lite/dupdate_hal/BUILD.gn b/update_lite/dupdate_hal/BUILD.gn index 03feca48f..927072209 100755 --- a/update_lite/dupdate_hal/BUILD.gn +++ b/update_lite/dupdate_hal/BUILD.gn @@ -21,7 +21,7 @@ hctest_suite("ActsUpdaterFuncTest") { "//base/update/ota_lite/interfaces/kits", ] - if (board_toolchain_type != "iccarm"){ - cflags = [ "-Wno-error" ] + if (board_toolchain_type != "iccarm") { + cflags = [ "-Wno-error" ] } } -- GitLab