From 5ed41a78f438052b6e2c5efe9e0c1cee5debdc34 Mon Sep 17 00:00:00 2001 From: lwx1281857 Date: Fri, 9 May 2025 14:48:53 +0800 Subject: [PATCH] Description:init Feature or Bugfix: Feature Binary Source:No Signed-off-by: lwx1281857 --- BUILD.gn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index f7eeeac70..8e72915d4 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -69,6 +69,12 @@ if (defined(ohos_lite)) { } lite_library("mbedtls_static") { + if (board_toolchain_type == "clang") { + cflags = [ + "-Wno-error=parentheses-equality", + "-Wno-error=implicit-function-declaration", + ] + } target_type = "static_library" public_configs = [ ":mbedtls_config" ] output_name = "mbedtls" -- Gitee