communication_ipc/0007-feat-for-embedded-fix-sqlite-stringop-warning.patch

25 lines
650 B
Diff
Raw Permalink Normal View History

2024-04-22 17:10:57 +08:00
From 04af936af6889ac13426100f0d0bba5c59bd8687 Mon Sep 17 00:00:00 2001
From: s_c_c <shichuchao@huawei.com>
Date: Fri, 22 Mar 2024 11:26:29 +0800
Subject: [PATCH] feat for embedded fix sqlite stringop warning
---
BUILD.gn | 1 +
1 file changed, 1 insertion(+)
diff --git a/BUILD.gn b/BUILD.gn
index af76d78..4c0f65b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -80,6 +80,7 @@ ohos_shared_library("sqlite") {
cflags_c = [
"-fvisibility=hidden",
"-Wno-implicit-fallthrough",
+ "-Wno-error=stringop-overflow",
]
ldflags = [ "-Wl,--exclude-libs,ALL" ]
deps = [ "//third_party/openssl:libcrypto_shared" ]
--
2.20.1 (Apple Git-117)