From d28dcdb0ae6952b43adf700b91c82660fdfbc14d 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 9fbc9e0b6..0d20cde51 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