diff --git a/BUILD.gn b/BUILD.gn index 5a506f68478cc87a4cb0d5beb46587cf8dd1ab6d..f6406faff7817670d622c811ff6a49a47472afd7 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -59,6 +59,7 @@ config("jsoncpp_public_config") { } ohos_shared_library("jsoncpp") { + branch_protector_ret = "pac_ret" visibility = [ "*" ] sources = get_target_outputs(":jsoncpp_install_action") use_exceptions = true @@ -78,6 +79,7 @@ ohos_shared_library("jsoncpp") { } ohos_static_library("jsoncpp_static") { + branch_protector_ret = "pac_ret" sources = get_target_outputs(":jsoncpp_install_action") use_exceptions = true configs = [