34 lines
883 B
Diff
34 lines
883 B
Diff
From 0cc0151dcf4507479a2db8912a67d68a8946e70d Mon Sep 17 00:00:00 2001
|
|
From: heppen <hepeng68@huawei.com>
|
|
Date: Tue, 20 Jun 2023 17:40:56 +0800
|
|
Subject: [PATCH] adapt for build
|
|
|
|
---
|
|
BUILD.gn | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/BUILD.gn b/BUILD.gn
|
|
index 2c77990..ec05d65 100755
|
|
--- a/BUILD.gn
|
|
+++ b/BUILD.gn
|
|
@@ -11,7 +11,7 @@
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
-#
|
|
+#
|
|
|
|
import("//third_party/mbedtls/mbedtls.gni")
|
|
|
|
@@ -115,6 +115,7 @@ if (defined(ohos_lite)) {
|
|
|
|
ohos_shared_library("mbedtls_shared") {
|
|
public_configs = [ ":mbedtls_config" ]
|
|
+ cflags_c = [ "-Wno-unused-but-set-variable" ]
|
|
output_name = "mbedtls"
|
|
subsystem_name = "common"
|
|
part_name = "dsoftbus"
|
|
--
|
|
2.33.0
|
|
|