From 901fd78a188baa80455f4ac1d240aee4a87e2642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=87=AF=E6=98=8E?= Date: Tue, 10 Sep 2024 06:18:45 +0000 Subject: [PATCH] =?UTF-8?q?add=20pac=20=EF=BC=88cherry=20picked=20commit?= =?UTF-8?q?=20from=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frameworks/config_policy/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/config_policy/BUILD.gn b/frameworks/config_policy/BUILD.gn index e167f3a..6ed18f2 100644 --- a/frameworks/config_policy/BUILD.gn +++ b/frameworks/config_policy/BUILD.gn @@ -35,12 +35,14 @@ if (defined(ohos_lite) && ohos_kernel_type == "liteos_m") { } } else if (defined(ohos_lite)) { shared_library("configpolicy_util") { + branch_protector_ret = "pac_ret" sources = config_policy_sources public_configs = [ ":config_policy_config" ] external_deps = [ "bounds_checking_function:libsec_shared" ] } } else { ohos_shared_library("configpolicy_util") { + branch_protector_ret = "pac_ret" sources = config_policy_sources public_configs = [ ":config_policy_config" ] deps = [ "etc:customization_etc" ] -- Gitee