From 1cd106c42ee39b037e7fbd644967139ff4eba357 Mon Sep 17 00:00:00 2001 From: s00455936 Date: Mon, 1 Jun 2020 17:54:49 +0800 Subject: [PATCH] TicketNo:AR000D0IRU Description:mbedtls config Team:EMUI Feature or Bugfix:Bugfix Binary Source:No PrivateCode(Yes/No):No Change-Id: Icbedc47e381d02c201255a5bbe4dcca4f4107c02 Reviewed-on: http://mgit-tm.rnd.huawei.com/9095968 Tested-by: public jenkins Reviewed-by: wanglechao 00496819 --- BUILD.gn | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 94bb2ba..a351653 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -5,6 +5,10 @@ config("mbedtls_config") { include_dirs = [ "./include", ] + + cflags = [ + "-fPIC", + ] } source_set("mbedtls_source") { @@ -77,6 +81,10 @@ source_set("mbedtls_source") { configs += [ ":mbedtls_config", ] + + public_configs = [ + ":mbedtls_config", + ] } zlite_component("mbedtls_shared") { -- GitLab