diff --git a/BUILD.gn b/BUILD.gn index 4cb68e82e1686f70baf29f6e88d1ba5691258f10..e61b60a0fe1b2c72d756a4746e2a7c6dc00ce22b 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -52,6 +52,7 @@ if (defined(ohos_lite)) { subsystem_name = "thirdparty" } ohos_shared_library("cjson") { + branch_protector_ret = "pac_ret" sources = [ "cJSON.c" ] public_configs = [ ":cJSON_config" ] innerapi_tags = [