From 8c9fb1c6a23e9e08ef93059e935011b13d9d2e89 Mon Sep 17 00:00:00 2001 From: code4lala Date: Thu, 19 Jan 2023 15:12:13 +0800 Subject: [PATCH] openssl 3.x Signed-off-by: code4lala Change-Id: Icd254409b93cf03bd049428cf32a7f62169868dd --- BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 667a2f2..2de5d72 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -77,6 +77,7 @@ ohos_shared_library("sqlite") { "SQLITE_SHARED_BLOCK_OPTIMIZATION", "SQLITE_CODEC_ATTACH_CHANGED", "SQLITE_ENABLE_DROPTABLE_CALLBACK", + "OPENSSL_SUPPRESS_DEPRECATED", ] cflags_c = [ "-fvisibility=hidden", @@ -121,6 +122,7 @@ ohos_executable("sqlite3") { "fdatasync=fdatasync", "SQLITE_DIRECT_OVERFLOW_READ", "SQLITE_SHARED_BLOCK_OPTIMIZATION", + "OPENSSL_SUPPRESS_DEPRECATED", ] cflags = [ @@ -163,6 +165,7 @@ if (is_mingw || is_mac) { "SQLITE_HAS_CODEC", "SQLITE_EXPORT_SYMBOLS", "SQLITE_SHARED_BLOCK_OPTIMIZATION", + "OPENSSL_SUPPRESS_DEPRECATED", ] remove_configs = [ "//build/config/compiler:chromium_code" ] deps = [ -- Gitee